File: model.rst

package info (click to toggle)
stravalib 2.4-2
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid
  • size: 5,340 kB
  • sloc: python: 4,462; makefile: 5
file content (112 lines) | stat: -rw-r--r-- 1,770 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
============
Model
============
.. currentmodule:: stravalib.model

Athletes
------------------------
.. autosummary::
   :toctree: api/
   :recursive:

    AthleteStats
    MetaAthlete
    SummaryAthlete
    DetailedAthlete
    AthletePrEffort
    AthleteSegmentStats

Activities
-------------------------
.. autosummary::
    :toctree: api/
    :recursive:

    MetaActivity
    SummaryActivity
    DetailedActivity
    ClubActivity
    ActivityTotals
    Lap
    Split
    RelaxedActivityType
    RelaxedSportType
    ActivityZone
    TimedZoneDistribution

Activity Photos
-------------------------
Note: the activity photo classes are defined differently in the Strava spec.
This section will likely need to be updated. These endpoints are not well
documented.

.. autosummary::
    :toctree: api/

    ActivityPhotoPrimary
    ActivityPhoto

Clubs
-------------
.. autosummary::
   :toctree: api/

   MetaClub
   SummaryClub
   DetailedClub

Routes and Segments
-------------------------
.. autosummary::
   :toctree: api/

   LatLon
   SummarySegment
   Segment
   SegmentExplorerResult
   Map
   Route
   Stream

Segment Efforts
-----------------------------
.. autosummary::
   :toctree: api/

   Split
   BaseEffort
   BestEffort
   SegmentEffort
   SegmentEffortAchievement
   SummarySegmentEffort

Webhook Subscriptions
-------------------------
.. autosummary::
   :toctree: api/

   Subscription
   SubscriptionCallback
   SubscriptionUpdate

.. _custom-types-anchor:

Custom Types
--------------------------
.. autosummary::
    :toctree: api/

    Distance
    Duration
    Timezone
    Velocity

Stravalib helpers
-----------------
.. autosummary::
    :toctree: api/

    BoundClientEntity
    naive_datetime
    lazy_property
    check_valid_location