incorporate json+collection, other refinements
This commit is contained in:
4
docs/_static/jquery-3.6.0.js
vendored
4
docs/_static/jquery-3.6.0.js
vendored
@@ -4395,7 +4395,7 @@ var dataUser = new Data();
|
||||
// 2. Improve the module's maintainability by reducing the storage
|
||||
// paths to a single mechanism.
|
||||
// 3. Use the same single mechanism to support "private" and "user" data.
|
||||
// 4. _Never_ expose "private" data to user code (TODO: Drop _internal_data_dict, _removeData)
|
||||
// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData)
|
||||
// 5. Avoid exposing implementation details on user objects (eg. expando properties)
|
||||
// 6. Provide a clear path for implementation upgrade to WeakMap in 2014
|
||||
|
||||
@@ -4463,7 +4463,7 @@ jQuery.extend( {
|
||||
dataUser.remove( elem, name );
|
||||
},
|
||||
|
||||
// TODO: Now that all calls to _internal_data_dict and _removeData have been replaced
|
||||
// TODO: Now that all calls to _data and _removeData have been replaced
|
||||
// with direct calls to dataPriv methods, these can be deprecated.
|
||||
_data: function( elem, name, data ) {
|
||||
return dataPriv.access( elem, name, data );
|
||||
|
||||
@@ -73,9 +73,14 @@
|
||||
| <a href="#C"><strong>C</strong></a>
|
||||
| <a href="#D"><strong>D</strong></a>
|
||||
| <a href="#E"><strong>E</strong></a>
|
||||
| <a href="#F"><strong>F</strong></a>
|
||||
| <a href="#G"><strong>G</strong></a>
|
||||
| <a href="#H"><strong>H</strong></a>
|
||||
| <a href="#I"><strong>I</strong></a>
|
||||
| <a href="#J"><strong>J</strong></a>
|
||||
| <a href="#L"><strong>L</strong></a>
|
||||
| <a href="#M"><strong>M</strong></a>
|
||||
| <a href="#N"><strong>N</strong></a>
|
||||
| <a href="#O"><strong>O</strong></a>
|
||||
| <a href="#P"><strong>P</strong></a>
|
||||
| <a href="#Q"><strong>Q</strong></a>
|
||||
@@ -84,16 +89,53 @@
|
||||
| <a href="#T"><strong>T</strong></a>
|
||||
| <a href="#U"><strong>U</strong></a>
|
||||
| <a href="#V"><strong>V</strong></a>
|
||||
| <a href="#Y"><strong>Y</strong></a>
|
||||
|
||||
</div>
|
||||
<h2 id="A">A</h2>
|
||||
<table style="width: 100%" class="indextable genindextable"><tr>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Availability">Availability (class in pyteamsnap.models)</a>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Statistics.acronym">acronym (pyteamsnap.models.Statistics attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Team.ad_unit_hero_id">ad_unit_hero_id (pyteamsnap.models.Team attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Team.ad_unit_hero_template_id">ad_unit_hero_template_id (pyteamsnap.models.Team attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Team.ad_unit_inline_id">ad_unit_inline_id (pyteamsnap.models.Team attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.additional_location_details">additional_location_details (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Location.address">address (pyteamsnap.models.Location attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Member.address_city">address_city (pyteamsnap.models.Member attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Member.address_state">address_state (pyteamsnap.models.Member attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Member.address_street1">address_street1 (pyteamsnap.models.Member attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Member.address_street2">address_street2 (pyteamsnap.models.Member attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Member.address_zip">address_zip (pyteamsnap.models.Member attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Statistics.always_display_decimals">always_display_decimals (pyteamsnap.models.Statistics attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.arrival_date">arrival_date (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Availability">Availability (class in pyteamsnap.models)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry.availability_status_code">availability_status_code (pyteamsnap.models.EventLineupEntry attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.AvailabilityStatusCode">AvailabilityStatusCode (class in pyteamsnap.models)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary">AvailabilitySummary (class in pyteamsnap.models)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.average">average (pyteamsnap.models.MemberStatistics attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.average_ranking">average_ranking (pyteamsnap.models.MemberStatistics attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.average_ranking_for_query">average_ranking_for_query (pyteamsnap.models.MemberStatistics attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
</tr></table>
|
||||
@@ -103,6 +145,14 @@
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.html#pyteamsnap.client.TeamSnap.base_url">base_url (pyteamsnap.client.TeamSnap attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Me.birthday">birthday (pyteamsnap.models.Me attribute)</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Member.birthday">(pyteamsnap.models.Member attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.User.birthday">(pyteamsnap.models.User attribute)</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
</ul></td>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.html#pyteamsnap.client.TeamSnap.bulk_load">bulk_load() (pyteamsnap.client.TeamSnap method)</a>
|
||||
@@ -114,6 +164,18 @@
|
||||
<table style="width: 100%" class="indextable genindextable"><tr>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.html#pyteamsnap.client.TeamSnap.command">command() (pyteamsnap.client.TeamSnap method)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Opponent.contacts_email">contacts_email (pyteamsnap.models.Opponent attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Opponent.contacts_name">contacts_name (pyteamsnap.models.Opponent attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Opponent.contacts_phone">contacts_phone (pyteamsnap.models.Opponent attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.count_games_played">count_games_played (pyteamsnap.models.MemberStatistics attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.created_at">created_at (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
</tr></table>
|
||||
@@ -121,33 +183,23 @@
|
||||
<h2 id="D">D</h2>
|
||||
<table style="width: 100%" class="indextable genindextable"><tr>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Availability.data">data (pyteamsnap.models.Availability property)</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.data">(pyteamsnap.models.AvailabilitySummary property)</a>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.User.delete">delete() (pyteamsnap.models.User method)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.data">(pyteamsnap.models.Event property)</a>
|
||||
<li><a href="pyteamsnap.html#pyteamsnap.client.TeamSnap.delete_item">delete_item() (pyteamsnap.client.TeamSnap method)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.EventLineup.data">(pyteamsnap.models.EventLineup property)</a>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Statistics.display_zero_totals">display_zero_totals (pyteamsnap.models.Statistics attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry.data">(pyteamsnap.models.EventLineupEntry property)</a>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Team.division_id">division_id (pyteamsnap.models.Team attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Location.data">(pyteamsnap.models.Location property)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Member.data">(pyteamsnap.models.Member property)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Opponent.data">(pyteamsnap.models.Opponent property)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Statistics.data">(pyteamsnap.models.Statistics property)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Team.data">(pyteamsnap.models.Team property)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.User.data">(pyteamsnap.models.User property)</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
</ul></td>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.html#pyteamsnap.client.TeamSnap.delete_item">delete_item() (pyteamsnap.client.TeamSnap method)</a>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.division_location_id">division_location_id (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Team.division_name">division_name (pyteamsnap.models.Team attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.doesnt_count_towards_record">doesnt_count_towards_record (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.duration_in_minutes">duration_in_minutes (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
</tr></table>
|
||||
@@ -155,10 +207,32 @@
|
||||
<h2 id="E">E</h2>
|
||||
<table style="width: 100%" class="indextable genindextable"><tr>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Me.email">email (pyteamsnap.models.Me attribute)</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.User.email">(pyteamsnap.models.User attribute)</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.end_date">end_date (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.EventLineup.entries_count">entries_count (pyteamsnap.models.EventLineup attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event">Event (class in pyteamsnap.models)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Availability.event_id">event_id (pyteamsnap.models.Availability attribute)</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.event_id">(pyteamsnap.models.AvailabilitySummary attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.EventLineup.event_id">(pyteamsnap.models.EventLineup attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry.event_id">(pyteamsnap.models.EventLineupEntry attribute)</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
</ul></td>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry.event_lineup_id">event_lineup_id (pyteamsnap.models.EventLineupEntry attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.EventLineup">EventLineup (class in pyteamsnap.models)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry">EventLineupEntry (class in pyteamsnap.models)</a>
|
||||
@@ -166,10 +240,136 @@
|
||||
</ul></td>
|
||||
</tr></table>
|
||||
|
||||
<h2 id="F">F</h2>
|
||||
<table style="width: 100%" class="indextable genindextable"><tr>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Me.facebook_access_token">facebook_access_token (pyteamsnap.models.Me attribute)</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.User.facebook_access_token">(pyteamsnap.models.User attribute)</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Me.facebook_id">facebook_id (pyteamsnap.models.Me attribute)</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.User.facebook_id">(pyteamsnap.models.User attribute)</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Me.first_name">first_name (pyteamsnap.models.Me attribute)</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Member.first_name">(pyteamsnap.models.Member attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.User.first_name">(pyteamsnap.models.User attribute)</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
</ul></td>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.formatted_results">formatted_results (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.formatted_title">formatted_title (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.formatted_title_for_multi_team">formatted_title_for_multi_team (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Statistics.formula">formula (pyteamsnap.models.Statistics attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
</tr></table>
|
||||
|
||||
<h2 id="G">G</h2>
|
||||
<table style="width: 100%" class="indextable genindextable"><tr>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.game_type">game_type (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.game_type_code">game_type_code (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Member.gender">gender (pyteamsnap.models.Member attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.html#pyteamsnap.client.TeamSnap.get_item">get_item() (pyteamsnap.client.TeamSnap method)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.going_count">going_count (pyteamsnap.models.AvailabilitySummary attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
</tr></table>
|
||||
|
||||
<h2 id="H">H</h2>
|
||||
<table style="width: 100%" class="indextable genindextable"><tr>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Member.hide_address">hide_address (pyteamsnap.models.Member attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Member.hide_age">hide_age (pyteamsnap.models.Member attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
</tr></table>
|
||||
|
||||
<h2 id="I">I</h2>
|
||||
<table style="width: 100%" class="indextable genindextable"><tr>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.icon_color">icon_color (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.id">id (pyteamsnap.models.MemberStatistics attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Member.is_address_hidden">is_address_hidden (pyteamsnap.models.Member attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Member.is_age_hidden">is_age_hidden (pyteamsnap.models.Member attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.is_canceled">is_canceled (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Availability.is_current_user">is_current_user (pyteamsnap.models.Availability attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.is_game">is_game (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Statistics.is_in_descending_order">is_in_descending_order (pyteamsnap.models.Statistics attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Me.is_lab_rat">is_lab_rat (pyteamsnap.models.Me attribute)</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.User.is_lab_rat">(pyteamsnap.models.User attribute)</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.is_league_controlled">is_league_controlled (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Member.is_manager">is_manager (pyteamsnap.models.Member attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Member.is_non_player">is_non_player (pyteamsnap.models.Member attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.is_overtime">is_overtime (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Member.is_ownership_pending">is_ownership_pending (pyteamsnap.models.Member attribute)</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Team.is_ownership_pending">(pyteamsnap.models.Team attribute)</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Statistics.is_percentage">is_percentage (pyteamsnap.models.Statistics attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Statistics.is_private">is_private (pyteamsnap.models.Statistics attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.EventLineup.is_published">is_published (pyteamsnap.models.EventLineup attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Location.is_retired">is_retired (pyteamsnap.models.Location attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.is_shootout">is_shootout (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.is_tbd">is_tbd (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Statistics.is_team_statistic">is_team_statistic (pyteamsnap.models.Statistics attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Statistics.is_top_statistic">is_top_statistic (pyteamsnap.models.Statistics attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
</tr></table>
|
||||
|
||||
<h2 id="J">J</h2>
|
||||
<table style="width: 100%" class="indextable genindextable"><tr>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Member.jersey_number">jersey_number (pyteamsnap.models.Member attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
</tr></table>
|
||||
@@ -177,11 +377,41 @@
|
||||
<h2 id="L">L</h2>
|
||||
<table style="width: 100%" class="indextable genindextable"><tr>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.html#pyteamsnap.client.TeamSnap.link">link() (pyteamsnap.client.TeamSnap method)</a>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.label">label (pyteamsnap.models.Event attribute)</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry.label">(pyteamsnap.models.EventLineupEntry attribute)</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Me.last_name">last_name (pyteamsnap.models.Me attribute)</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Member.last_name">(pyteamsnap.models.Member attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.User.last_name">(pyteamsnap.models.User attribute)</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Location.latitude">latitude (pyteamsnap.models.Location attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Team.league_name">league_name (pyteamsnap.models.Team attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Team.league_url">league_url (pyteamsnap.models.Team attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.html#pyteamsnap.client.TeamSnap.link">link() (pyteamsnap.client.TeamSnap method)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Location">Location (class in pyteamsnap.models)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Team.location_country">location_country (pyteamsnap.models.Team attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.location_id">location_id (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.location_name">location_name (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Team.location_postal_code">location_postal_code (pyteamsnap.models.Team attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Location.longitude">longitude (pyteamsnap.models.Location attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
</tr></table>
|
||||
@@ -189,14 +419,32 @@
|
||||
<h2 id="M">M</h2>
|
||||
<table style="width: 100%" class="indextable genindextable"><tr>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.AvailabilityStatusCode.MAYBE">MAYBE (pyteamsnap.models.AvailabilityStatusCode attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.maybe_count">maybe_count (pyteamsnap.models.AvailabilitySummary attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Me">Me (class in pyteamsnap.models)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Member">Member (class in pyteamsnap.models)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics">MemberStatistics (class in pyteamsnap.models)</a>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Availability.member_id">member_id (pyteamsnap.models.Availability attribute)</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry.member_id">(pyteamsnap.models.EventLineupEntry attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.member_id">(pyteamsnap.models.MemberStatistics attribute)</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
</ul></td>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry.member_name">member_name (pyteamsnap.models.EventLineupEntry attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry.member_photo">member_photo (pyteamsnap.models.EventLineupEntry attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics">MemberStatistics (class in pyteamsnap.models)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.minutes_to_arrive_early">minutes_to_arrive_early (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li>
|
||||
module
|
||||
|
||||
@@ -211,10 +459,60 @@
|
||||
</ul></td>
|
||||
</tr></table>
|
||||
|
||||
<h2 id="N">N</h2>
|
||||
<table style="width: 100%" class="indextable genindextable"><tr>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.name">name (pyteamsnap.models.Event attribute)</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Location.name">(pyteamsnap.models.Location attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Opponent.name">(pyteamsnap.models.Opponent attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Statistics.name">(pyteamsnap.models.Statistics attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Team.name">(pyteamsnap.models.Team attribute)</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.User.new">new() (pyteamsnap.models.User method)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.AvailabilityStatusCode.NO">NO (pyteamsnap.models.AvailabilityStatusCode attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.not_going_count">not_going_count (pyteamsnap.models.AvailabilitySummary attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Availability.notes">notes (pyteamsnap.models.Availability attribute)</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.notes">(pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Location.notes">(pyteamsnap.models.Location attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Opponent.notes">(pyteamsnap.models.Opponent attribute)</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Availability.notes_author_member_id">notes_author_member_id (pyteamsnap.models.Availability attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
</tr></table>
|
||||
|
||||
<h2 id="O">O</h2>
|
||||
<table style="width: 100%" class="indextable genindextable"><tr>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Opponent">Opponent (class in pyteamsnap.models)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.opponent_id">opponent_id (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.opponent_name">opponent_name (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Team.owner_email">owner_email (pyteamsnap.models.Team attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Team.owner_first_name">owner_first_name (pyteamsnap.models.Team attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Team.owner_last_name">owner_last_name (pyteamsnap.models.Team attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
</tr></table>
|
||||
@@ -222,9 +520,35 @@
|
||||
<h2 id="P">P</h2>
|
||||
<table style="width: 100%" class="indextable genindextable"><tr>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.html#pyteamsnap.client.TeamSnap.parse_response">parse_response() (pyteamsnap.client.TeamSnap class method)</a>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Me.password">password (pyteamsnap.models.Me attribute)</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.User.password">(pyteamsnap.models.User attribute)</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Location.phone">phone (pyteamsnap.models.Location attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.player_going_count">player_going_count (pyteamsnap.models.AvailabilitySummary attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.player_maybe_count">player_maybe_count (pyteamsnap.models.AvailabilitySummary attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.player_not_going_count">player_not_going_count (pyteamsnap.models.AvailabilitySummary attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.player_unknown_count">player_unknown_count (pyteamsnap.models.AvailabilitySummary attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.points_for_opponent">points_for_opponent (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.points_for_team">points_for_team (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Member.position">position (pyteamsnap.models.Member attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.User.post">post() (pyteamsnap.models.User method)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.html#pyteamsnap.client.TeamSnap.post_item">post_item() (pyteamsnap.client.TeamSnap method)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Statistics.precision">precision (pyteamsnap.models.Statistics attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.html#pyteamsnap.client.TeamSnap.put_item">put_item() (pyteamsnap.client.TeamSnap method)</a>
|
||||
</li>
|
||||
@@ -235,8 +559,6 @@
|
||||
<li><a href="pyteamsnap.html#module-pyteamsnap">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
</ul></td>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li>
|
||||
pyteamsnap.client
|
||||
|
||||
@@ -265,6 +587,12 @@
|
||||
<h2 id="R">R</h2>
|
||||
<table style="width: 100%" class="indextable genindextable"><tr>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Me.receives_newsletter">receives_newsletter (pyteamsnap.models.Me attribute)</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.User.receives_newsletter">(pyteamsnap.models.User attribute)</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Availability.rel">rel (pyteamsnap.models.Availability attribute)</a>
|
||||
|
||||
<ul>
|
||||
@@ -294,16 +622,52 @@
|
||||
</li>
|
||||
</ul></li>
|
||||
</ul></td>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.repeating_type">repeating_type (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.repeating_type_code">repeating_type_code (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.repeating_uuid">repeating_uuid (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.results">results (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.results_url">results_url (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
</tr></table>
|
||||
|
||||
<h2 id="S">S</h2>
|
||||
<table style="width: 100%" class="indextable genindextable"><tr>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry.search">search() (pyteamsnap.models.EventLineupEntry class method)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Team.season_name">season_name (pyteamsnap.models.Team attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry.sequence">sequence (pyteamsnap.models.EventLineupEntry attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.shootout_points_for_opponent">shootout_points_for_opponent (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.shootout_points_for_team">shootout_points_for_team (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Member.source_action">source_action (pyteamsnap.models.Member attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.source_time_zone_iana_name">source_time_zone_iana_name (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Team.sport_id">sport_id (pyteamsnap.models.Team attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.start_date">start_date (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Statistics.statistic_group_id">statistic_group_id (pyteamsnap.models.Statistics attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.statistic_id">statistic_id (pyteamsnap.models.MemberStatistics attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Statistics">Statistics (class in pyteamsnap.models)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Availability.status">status (pyteamsnap.models.Availability attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Availability.status_code">status_code (pyteamsnap.models.Availability attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
</tr></table>
|
||||
@@ -313,9 +677,49 @@
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Team">Team (class in pyteamsnap.models)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Team.team">team (pyteamsnap.models.Team attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Availability.team_id">team_id (pyteamsnap.models.Availability attribute)</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.team_id">(pyteamsnap.models.AvailabilitySummary attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.team_id">(pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Location.team_id">(pyteamsnap.models.Location attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Member.team_id">(pyteamsnap.models.Member attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.team_id">(pyteamsnap.models.MemberStatistics attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Opponent.team_id">(pyteamsnap.models.Opponent attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Statistics.team_id">(pyteamsnap.models.Statistics attribute)</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li><a href="pyteamsnap.html#pyteamsnap.client.TeamSnap">TeamSnap (class in pyteamsnap.client)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.EventLineup.template">template (pyteamsnap.models.EventLineup attribute)</a>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.time_zone">time_zone (pyteamsnap.models.Event attribute)</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Team.time_zone">(pyteamsnap.models.Team attribute)</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.time_zone_description">time_zone_description (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.time_zone_iana_name">time_zone_iana_name (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.time_zone_offset">time_zone_offset (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.total">total (pyteamsnap.models.MemberStatistics attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.total_ranking">total_ranking (pyteamsnap.models.MemberStatistics attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.total_ranking_for_query">total_ranking_for_query (pyteamsnap.models.MemberStatistics attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.tracks_availability">tracks_availability (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Availability.type">type (pyteamsnap.models.Availability attribute)</a>
|
||||
|
||||
@@ -333,6 +737,8 @@
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Me.type">(pyteamsnap.models.Me attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Member.type">(pyteamsnap.models.Member attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.type">(pyteamsnap.models.MemberStatistics attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Opponent.type">(pyteamsnap.models.Opponent attribute)</a>
|
||||
</li>
|
||||
@@ -349,6 +755,16 @@
|
||||
<h2 id="U">U</h2>
|
||||
<table style="width: 100%" class="indextable genindextable"><tr>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.uniform">uniform (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.unknown_count">unknown_count (pyteamsnap.models.AvailabilitySummary attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Event.updated_at">updated_at (pyteamsnap.models.Event attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.Location.url">url (pyteamsnap.models.Location attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.User">User (class in pyteamsnap.models)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
@@ -386,6 +802,14 @@
|
||||
</ul></td>
|
||||
</tr></table>
|
||||
|
||||
<h2 id="Y">Y</h2>
|
||||
<table style="width: 100%" class="indextable genindextable"><tr>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li><a href="pyteamsnap.models.html#pyteamsnap.models.AvailabilityStatusCode.YES">YES (pyteamsnap.models.AvailabilityStatusCode attribute)</a>
|
||||
</li>
|
||||
</ul></td>
|
||||
</tr></table>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
BIN
docs/objects.inv
BIN
docs/objects.inv
Binary file not shown.
@@ -93,89 +93,257 @@
|
||||
<li class="toctree-l1"><a class="reference internal" href="pyteamsnap.models.html">pyteamsnap.models package</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pyteamsnap.models.html#module-pyteamsnap.models">Module contents</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Availability"><code class="docutils literal notranslate"><span class="pre">Availability</span></code></a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Availability.data"><code class="docutils literal notranslate"><span class="pre">Availability.data</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Availability.event_id"><code class="docutils literal notranslate"><span class="pre">Availability.event_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Availability.is_current_user"><code class="docutils literal notranslate"><span class="pre">Availability.is_current_user</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Availability.member_id"><code class="docutils literal notranslate"><span class="pre">Availability.member_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Availability.notes"><code class="docutils literal notranslate"><span class="pre">Availability.notes</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Availability.notes_author_member_id"><code class="docutils literal notranslate"><span class="pre">Availability.notes_author_member_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Availability.rel"><code class="docutils literal notranslate"><span class="pre">Availability.rel</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Availability.status"><code class="docutils literal notranslate"><span class="pre">Availability.status</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Availability.status_code"><code class="docutils literal notranslate"><span class="pre">Availability.status_code</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Availability.team_id"><code class="docutils literal notranslate"><span class="pre">Availability.team_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Availability.type"><code class="docutils literal notranslate"><span class="pre">Availability.type</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Availability.version"><code class="docutils literal notranslate"><span class="pre">Availability.version</span></code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.AvailabilityStatusCode"><code class="docutils literal notranslate"><span class="pre">AvailabilityStatusCode</span></code></a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.AvailabilityStatusCode.MAYBE"><code class="docutils literal notranslate"><span class="pre">AvailabilityStatusCode.MAYBE</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.AvailabilityStatusCode.NO"><code class="docutils literal notranslate"><span class="pre">AvailabilityStatusCode.NO</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.AvailabilityStatusCode.YES"><code class="docutils literal notranslate"><span class="pre">AvailabilityStatusCode.YES</span></code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary"><code class="docutils literal notranslate"><span class="pre">AvailabilitySummary</span></code></a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.data"><code class="docutils literal notranslate"><span class="pre">AvailabilitySummary.data</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.event_id"><code class="docutils literal notranslate"><span class="pre">AvailabilitySummary.event_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.going_count"><code class="docutils literal notranslate"><span class="pre">AvailabilitySummary.going_count</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.maybe_count"><code class="docutils literal notranslate"><span class="pre">AvailabilitySummary.maybe_count</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.not_going_count"><code class="docutils literal notranslate"><span class="pre">AvailabilitySummary.not_going_count</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.player_going_count"><code class="docutils literal notranslate"><span class="pre">AvailabilitySummary.player_going_count</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.player_maybe_count"><code class="docutils literal notranslate"><span class="pre">AvailabilitySummary.player_maybe_count</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.player_not_going_count"><code class="docutils literal notranslate"><span class="pre">AvailabilitySummary.player_not_going_count</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.player_unknown_count"><code class="docutils literal notranslate"><span class="pre">AvailabilitySummary.player_unknown_count</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.rel"><code class="docutils literal notranslate"><span class="pre">AvailabilitySummary.rel</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.team_id"><code class="docutils literal notranslate"><span class="pre">AvailabilitySummary.team_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.type"><code class="docutils literal notranslate"><span class="pre">AvailabilitySummary.type</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.unknown_count"><code class="docutils literal notranslate"><span class="pre">AvailabilitySummary.unknown_count</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.AvailabilitySummary.version"><code class="docutils literal notranslate"><span class="pre">AvailabilitySummary.version</span></code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event"><code class="docutils literal notranslate"><span class="pre">Event</span></code></a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.data"><code class="docutils literal notranslate"><span class="pre">Event.data</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.additional_location_details"><code class="docutils literal notranslate"><span class="pre">Event.additional_location_details</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.arrival_date"><code class="docutils literal notranslate"><span class="pre">Event.arrival_date</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.created_at"><code class="docutils literal notranslate"><span class="pre">Event.created_at</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.division_location_id"><code class="docutils literal notranslate"><span class="pre">Event.division_location_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.doesnt_count_towards_record"><code class="docutils literal notranslate"><span class="pre">Event.doesnt_count_towards_record</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.duration_in_minutes"><code class="docutils literal notranslate"><span class="pre">Event.duration_in_minutes</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.end_date"><code class="docutils literal notranslate"><span class="pre">Event.end_date</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.formatted_results"><code class="docutils literal notranslate"><span class="pre">Event.formatted_results</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.formatted_title"><code class="docutils literal notranslate"><span class="pre">Event.formatted_title</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.formatted_title_for_multi_team"><code class="docutils literal notranslate"><span class="pre">Event.formatted_title_for_multi_team</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.game_type"><code class="docutils literal notranslate"><span class="pre">Event.game_type</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.game_type_code"><code class="docutils literal notranslate"><span class="pre">Event.game_type_code</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.icon_color"><code class="docutils literal notranslate"><span class="pre">Event.icon_color</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.is_canceled"><code class="docutils literal notranslate"><span class="pre">Event.is_canceled</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.is_game"><code class="docutils literal notranslate"><span class="pre">Event.is_game</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.is_league_controlled"><code class="docutils literal notranslate"><span class="pre">Event.is_league_controlled</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.is_overtime"><code class="docutils literal notranslate"><span class="pre">Event.is_overtime</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.is_shootout"><code class="docutils literal notranslate"><span class="pre">Event.is_shootout</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.is_tbd"><code class="docutils literal notranslate"><span class="pre">Event.is_tbd</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.label"><code class="docutils literal notranslate"><span class="pre">Event.label</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.location_id"><code class="docutils literal notranslate"><span class="pre">Event.location_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.location_name"><code class="docutils literal notranslate"><span class="pre">Event.location_name</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.minutes_to_arrive_early"><code class="docutils literal notranslate"><span class="pre">Event.minutes_to_arrive_early</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.name"><code class="docutils literal notranslate"><span class="pre">Event.name</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.notes"><code class="docutils literal notranslate"><span class="pre">Event.notes</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.opponent_id"><code class="docutils literal notranslate"><span class="pre">Event.opponent_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.opponent_name"><code class="docutils literal notranslate"><span class="pre">Event.opponent_name</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.points_for_opponent"><code class="docutils literal notranslate"><span class="pre">Event.points_for_opponent</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.points_for_team"><code class="docutils literal notranslate"><span class="pre">Event.points_for_team</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.rel"><code class="docutils literal notranslate"><span class="pre">Event.rel</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.repeating_type"><code class="docutils literal notranslate"><span class="pre">Event.repeating_type</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.repeating_type_code"><code class="docutils literal notranslate"><span class="pre">Event.repeating_type_code</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.repeating_uuid"><code class="docutils literal notranslate"><span class="pre">Event.repeating_uuid</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.results"><code class="docutils literal notranslate"><span class="pre">Event.results</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.results_url"><code class="docutils literal notranslate"><span class="pre">Event.results_url</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.shootout_points_for_opponent"><code class="docutils literal notranslate"><span class="pre">Event.shootout_points_for_opponent</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.shootout_points_for_team"><code class="docutils literal notranslate"><span class="pre">Event.shootout_points_for_team</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.source_time_zone_iana_name"><code class="docutils literal notranslate"><span class="pre">Event.source_time_zone_iana_name</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.start_date"><code class="docutils literal notranslate"><span class="pre">Event.start_date</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.team_id"><code class="docutils literal notranslate"><span class="pre">Event.team_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.time_zone"><code class="docutils literal notranslate"><span class="pre">Event.time_zone</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.time_zone_description"><code class="docutils literal notranslate"><span class="pre">Event.time_zone_description</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.time_zone_iana_name"><code class="docutils literal notranslate"><span class="pre">Event.time_zone_iana_name</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.time_zone_offset"><code class="docutils literal notranslate"><span class="pre">Event.time_zone_offset</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.tracks_availability"><code class="docutils literal notranslate"><span class="pre">Event.tracks_availability</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.type"><code class="docutils literal notranslate"><span class="pre">Event.type</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.uniform"><code class="docutils literal notranslate"><span class="pre">Event.uniform</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.updated_at"><code class="docutils literal notranslate"><span class="pre">Event.updated_at</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Event.version"><code class="docutils literal notranslate"><span class="pre">Event.version</span></code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.EventLineup"><code class="docutils literal notranslate"><span class="pre">EventLineup</span></code></a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.EventLineup.data"><code class="docutils literal notranslate"><span class="pre">EventLineup.data</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.EventLineup.entries_count"><code class="docutils literal notranslate"><span class="pre">EventLineup.entries_count</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.EventLineup.event_id"><code class="docutils literal notranslate"><span class="pre">EventLineup.event_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.EventLineup.is_published"><code class="docutils literal notranslate"><span class="pre">EventLineup.is_published</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.EventLineup.rel"><code class="docutils literal notranslate"><span class="pre">EventLineup.rel</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.EventLineup.template"><code class="docutils literal notranslate"><span class="pre">EventLineup.template</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.EventLineup.type"><code class="docutils literal notranslate"><span class="pre">EventLineup.type</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.EventLineup.version"><code class="docutils literal notranslate"><span class="pre">EventLineup.version</span></code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry"><code class="docutils literal notranslate"><span class="pre">EventLineupEntry</span></code></a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry.data"><code class="docutils literal notranslate"><span class="pre">EventLineupEntry.data</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry.availability_status_code"><code class="docutils literal notranslate"><span class="pre">EventLineupEntry.availability_status_code</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry.event_id"><code class="docutils literal notranslate"><span class="pre">EventLineupEntry.event_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry.event_lineup_id"><code class="docutils literal notranslate"><span class="pre">EventLineupEntry.event_lineup_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry.label"><code class="docutils literal notranslate"><span class="pre">EventLineupEntry.label</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry.member_id"><code class="docutils literal notranslate"><span class="pre">EventLineupEntry.member_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry.member_name"><code class="docutils literal notranslate"><span class="pre">EventLineupEntry.member_name</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry.member_photo"><code class="docutils literal notranslate"><span class="pre">EventLineupEntry.member_photo</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry.rel"><code class="docutils literal notranslate"><span class="pre">EventLineupEntry.rel</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry.search"><code class="docutils literal notranslate"><span class="pre">EventLineupEntry.search()</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry.sequence"><code class="docutils literal notranslate"><span class="pre">EventLineupEntry.sequence</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry.type"><code class="docutils literal notranslate"><span class="pre">EventLineupEntry.type</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.EventLineupEntry.version"><code class="docutils literal notranslate"><span class="pre">EventLineupEntry.version</span></code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Location"><code class="docutils literal notranslate"><span class="pre">Location</span></code></a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Location.data"><code class="docutils literal notranslate"><span class="pre">Location.data</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Location.address"><code class="docutils literal notranslate"><span class="pre">Location.address</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Location.is_retired"><code class="docutils literal notranslate"><span class="pre">Location.is_retired</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Location.latitude"><code class="docutils literal notranslate"><span class="pre">Location.latitude</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Location.longitude"><code class="docutils literal notranslate"><span class="pre">Location.longitude</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Location.name"><code class="docutils literal notranslate"><span class="pre">Location.name</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Location.notes"><code class="docutils literal notranslate"><span class="pre">Location.notes</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Location.phone"><code class="docutils literal notranslate"><span class="pre">Location.phone</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Location.rel"><code class="docutils literal notranslate"><span class="pre">Location.rel</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Location.team_id"><code class="docutils literal notranslate"><span class="pre">Location.team_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Location.type"><code class="docutils literal notranslate"><span class="pre">Location.type</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Location.url"><code class="docutils literal notranslate"><span class="pre">Location.url</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Location.version"><code class="docutils literal notranslate"><span class="pre">Location.version</span></code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Me"><code class="docutils literal notranslate"><span class="pre">Me</span></code></a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Me.birthday"><code class="docutils literal notranslate"><span class="pre">Me.birthday</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Me.email"><code class="docutils literal notranslate"><span class="pre">Me.email</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Me.facebook_access_token"><code class="docutils literal notranslate"><span class="pre">Me.facebook_access_token</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Me.facebook_id"><code class="docutils literal notranslate"><span class="pre">Me.facebook_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Me.first_name"><code class="docutils literal notranslate"><span class="pre">Me.first_name</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Me.is_lab_rat"><code class="docutils literal notranslate"><span class="pre">Me.is_lab_rat</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Me.last_name"><code class="docutils literal notranslate"><span class="pre">Me.last_name</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Me.password"><code class="docutils literal notranslate"><span class="pre">Me.password</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Me.receives_newsletter"><code class="docutils literal notranslate"><span class="pre">Me.receives_newsletter</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Me.rel"><code class="docutils literal notranslate"><span class="pre">Me.rel</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Me.type"><code class="docutils literal notranslate"><span class="pre">Me.type</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Me.version"><code class="docutils literal notranslate"><span class="pre">Me.version</span></code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member"><code class="docutils literal notranslate"><span class="pre">Member</span></code></a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.data"><code class="docutils literal notranslate"><span class="pre">Member.data</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.address_city"><code class="docutils literal notranslate"><span class="pre">Member.address_city</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.address_state"><code class="docutils literal notranslate"><span class="pre">Member.address_state</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.address_street1"><code class="docutils literal notranslate"><span class="pre">Member.address_street1</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.address_street2"><code class="docutils literal notranslate"><span class="pre">Member.address_street2</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.address_zip"><code class="docutils literal notranslate"><span class="pre">Member.address_zip</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.birthday"><code class="docutils literal notranslate"><span class="pre">Member.birthday</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.first_name"><code class="docutils literal notranslate"><span class="pre">Member.first_name</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.gender"><code class="docutils literal notranslate"><span class="pre">Member.gender</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.hide_address"><code class="docutils literal notranslate"><span class="pre">Member.hide_address</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.hide_age"><code class="docutils literal notranslate"><span class="pre">Member.hide_age</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.is_address_hidden"><code class="docutils literal notranslate"><span class="pre">Member.is_address_hidden</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.is_age_hidden"><code class="docutils literal notranslate"><span class="pre">Member.is_age_hidden</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.is_manager"><code class="docutils literal notranslate"><span class="pre">Member.is_manager</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.is_non_player"><code class="docutils literal notranslate"><span class="pre">Member.is_non_player</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.is_ownership_pending"><code class="docutils literal notranslate"><span class="pre">Member.is_ownership_pending</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.jersey_number"><code class="docutils literal notranslate"><span class="pre">Member.jersey_number</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.last_name"><code class="docutils literal notranslate"><span class="pre">Member.last_name</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.position"><code class="docutils literal notranslate"><span class="pre">Member.position</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.rel"><code class="docutils literal notranslate"><span class="pre">Member.rel</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.source_action"><code class="docutils literal notranslate"><span class="pre">Member.source_action</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.team_id"><code class="docutils literal notranslate"><span class="pre">Member.team_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.type"><code class="docutils literal notranslate"><span class="pre">Member.type</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Member.version"><code class="docutils literal notranslate"><span class="pre">Member.version</span></code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics"><code class="docutils literal notranslate"><span class="pre">MemberStatistics</span></code></a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.average"><code class="docutils literal notranslate"><span class="pre">MemberStatistics.average</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.average_ranking"><code class="docutils literal notranslate"><span class="pre">MemberStatistics.average_ranking</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.average_ranking_for_query"><code class="docutils literal notranslate"><span class="pre">MemberStatistics.average_ranking_for_query</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.count_games_played"><code class="docutils literal notranslate"><span class="pre">MemberStatistics.count_games_played</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.id"><code class="docutils literal notranslate"><span class="pre">MemberStatistics.id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.member_id"><code class="docutils literal notranslate"><span class="pre">MemberStatistics.member_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.rel"><code class="docutils literal notranslate"><span class="pre">MemberStatistics.rel</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.statistic_id"><code class="docutils literal notranslate"><span class="pre">MemberStatistics.statistic_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.team_id"><code class="docutils literal notranslate"><span class="pre">MemberStatistics.team_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.total"><code class="docutils literal notranslate"><span class="pre">MemberStatistics.total</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.total_ranking"><code class="docutils literal notranslate"><span class="pre">MemberStatistics.total_ranking</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.total_ranking_for_query"><code class="docutils literal notranslate"><span class="pre">MemberStatistics.total_ranking_for_query</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.MemberStatistics.type"><code class="docutils literal notranslate"><span class="pre">MemberStatistics.type</span></code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Opponent"><code class="docutils literal notranslate"><span class="pre">Opponent</span></code></a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Opponent.data"><code class="docutils literal notranslate"><span class="pre">Opponent.data</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Opponent.contacts_email"><code class="docutils literal notranslate"><span class="pre">Opponent.contacts_email</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Opponent.contacts_name"><code class="docutils literal notranslate"><span class="pre">Opponent.contacts_name</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Opponent.contacts_phone"><code class="docutils literal notranslate"><span class="pre">Opponent.contacts_phone</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Opponent.name"><code class="docutils literal notranslate"><span class="pre">Opponent.name</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Opponent.notes"><code class="docutils literal notranslate"><span class="pre">Opponent.notes</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Opponent.rel"><code class="docutils literal notranslate"><span class="pre">Opponent.rel</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Opponent.team_id"><code class="docutils literal notranslate"><span class="pre">Opponent.team_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Opponent.type"><code class="docutils literal notranslate"><span class="pre">Opponent.type</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Opponent.version"><code class="docutils literal notranslate"><span class="pre">Opponent.version</span></code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Statistics"><code class="docutils literal notranslate"><span class="pre">Statistics</span></code></a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Statistics.data"><code class="docutils literal notranslate"><span class="pre">Statistics.data</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Statistics.acronym"><code class="docutils literal notranslate"><span class="pre">Statistics.acronym</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Statistics.always_display_decimals"><code class="docutils literal notranslate"><span class="pre">Statistics.always_display_decimals</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Statistics.display_zero_totals"><code class="docutils literal notranslate"><span class="pre">Statistics.display_zero_totals</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Statistics.formula"><code class="docutils literal notranslate"><span class="pre">Statistics.formula</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Statistics.is_in_descending_order"><code class="docutils literal notranslate"><span class="pre">Statistics.is_in_descending_order</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Statistics.is_percentage"><code class="docutils literal notranslate"><span class="pre">Statistics.is_percentage</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Statistics.is_private"><code class="docutils literal notranslate"><span class="pre">Statistics.is_private</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Statistics.is_team_statistic"><code class="docutils literal notranslate"><span class="pre">Statistics.is_team_statistic</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Statistics.is_top_statistic"><code class="docutils literal notranslate"><span class="pre">Statistics.is_top_statistic</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Statistics.name"><code class="docutils literal notranslate"><span class="pre">Statistics.name</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Statistics.precision"><code class="docutils literal notranslate"><span class="pre">Statistics.precision</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Statistics.rel"><code class="docutils literal notranslate"><span class="pre">Statistics.rel</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Statistics.statistic_group_id"><code class="docutils literal notranslate"><span class="pre">Statistics.statistic_group_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Statistics.team_id"><code class="docutils literal notranslate"><span class="pre">Statistics.team_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Statistics.type"><code class="docutils literal notranslate"><span class="pre">Statistics.type</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Statistics.version"><code class="docutils literal notranslate"><span class="pre">Statistics.version</span></code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Team"><code class="docutils literal notranslate"><span class="pre">Team</span></code></a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Team.data"><code class="docutils literal notranslate"><span class="pre">Team.data</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Team.ad_unit_hero_id"><code class="docutils literal notranslate"><span class="pre">Team.ad_unit_hero_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Team.ad_unit_hero_template_id"><code class="docutils literal notranslate"><span class="pre">Team.ad_unit_hero_template_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Team.ad_unit_inline_id"><code class="docutils literal notranslate"><span class="pre">Team.ad_unit_inline_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Team.division_id"><code class="docutils literal notranslate"><span class="pre">Team.division_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Team.division_name"><code class="docutils literal notranslate"><span class="pre">Team.division_name</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Team.is_ownership_pending"><code class="docutils literal notranslate"><span class="pre">Team.is_ownership_pending</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Team.league_name"><code class="docutils literal notranslate"><span class="pre">Team.league_name</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Team.league_url"><code class="docutils literal notranslate"><span class="pre">Team.league_url</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Team.location_country"><code class="docutils literal notranslate"><span class="pre">Team.location_country</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Team.location_postal_code"><code class="docutils literal notranslate"><span class="pre">Team.location_postal_code</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Team.name"><code class="docutils literal notranslate"><span class="pre">Team.name</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Team.owner_email"><code class="docutils literal notranslate"><span class="pre">Team.owner_email</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Team.owner_first_name"><code class="docutils literal notranslate"><span class="pre">Team.owner_first_name</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Team.owner_last_name"><code class="docutils literal notranslate"><span class="pre">Team.owner_last_name</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Team.rel"><code class="docutils literal notranslate"><span class="pre">Team.rel</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Team.season_name"><code class="docutils literal notranslate"><span class="pre">Team.season_name</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Team.sport_id"><code class="docutils literal notranslate"><span class="pre">Team.sport_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Team.team"><code class="docutils literal notranslate"><span class="pre">Team.team</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Team.time_zone"><code class="docutils literal notranslate"><span class="pre">Team.time_zone</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Team.type"><code class="docutils literal notranslate"><span class="pre">Team.type</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.Team.version"><code class="docutils literal notranslate"><span class="pre">Team.version</span></code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.User"><code class="docutils literal notranslate"><span class="pre">User</span></code></a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.User.data"><code class="docutils literal notranslate"><span class="pre">User.data</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.User.birthday"><code class="docutils literal notranslate"><span class="pre">User.birthday</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.User.delete"><code class="docutils literal notranslate"><span class="pre">User.delete()</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.User.email"><code class="docutils literal notranslate"><span class="pre">User.email</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.User.facebook_access_token"><code class="docutils literal notranslate"><span class="pre">User.facebook_access_token</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.User.facebook_id"><code class="docutils literal notranslate"><span class="pre">User.facebook_id</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.User.first_name"><code class="docutils literal notranslate"><span class="pre">User.first_name</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.User.is_lab_rat"><code class="docutils literal notranslate"><span class="pre">User.is_lab_rat</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.User.last_name"><code class="docutils literal notranslate"><span class="pre">User.last_name</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.User.new"><code class="docutils literal notranslate"><span class="pre">User.new()</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.User.password"><code class="docutils literal notranslate"><span class="pre">User.password</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.User.post"><code class="docutils literal notranslate"><span class="pre">User.post()</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.User.receives_newsletter"><code class="docutils literal notranslate"><span class="pre">User.receives_newsletter</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.User.rel"><code class="docutils literal notranslate"><span class="pre">User.rel</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.User.type"><code class="docutils literal notranslate"><span class="pre">User.type</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyteamsnap.models.html#pyteamsnap.models.User.version"><code class="docutils literal notranslate"><span class="pre">User.version</span></code></a></li>
|
||||
@@ -206,12 +374,12 @@
|
||||
|
||||
<dl class="py method">
|
||||
<dt class="sig sig-object py" id="pyteamsnap.client.TeamSnap.bulk_load">
|
||||
<span class="sig-name descname"><span class="pre">bulk_load</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">team_id</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">types</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><span class="pre">BaseApiObject</span><span class="p"><span class="pre">]</span></span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kwargs</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><span class="pre">TTeamSnap</span><span class="p"><span class="pre">]</span></span></span></span><a class="headerlink" href="#pyteamsnap.client.TeamSnap.bulk_load" title="Permalink to this definition"></a></dt>
|
||||
<span class="sig-name descname"><span class="pre">bulk_load</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">team_id</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">types</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><span class="pre">BaseTeamsnapObject</span><span class="p"><span class="pre">]</span></span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kwargs</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">List</span><span class="p"><span class="pre">[</span></span><span class="pre">TTeamSnap</span><span class="p"><span class="pre">]</span></span></span></span><a class="headerlink" href="#pyteamsnap.client.TeamSnap.bulk_load" title="Permalink to this definition"></a></dt>
|
||||
<dd><dl class="field-list simple">
|
||||
<dt class="field-odd">Parameters</dt>
|
||||
<dd class="field-odd"><ul class="simple">
|
||||
<li><p><strong>team_id</strong> – </p></li>
|
||||
<li><p><strong>types</strong> – List of items to fetch, in the form of BaseApiObject classes</p></li>
|
||||
<li><p><strong>types</strong> – List of items to fetch, in the form of BaseTeamsnapObject classes</p></li>
|
||||
<li><p><strong>kwargs</strong> – Additional filters passed into requested types by passing them in the url’s querystring
|
||||
as type__filter=value (i.e. ?event__start_date=2015-01-01).
|
||||
Any filter can be passed that is available on the search for the specified type.</p></li>
|
||||
@@ -243,11 +411,6 @@ Any filter can be passed that is available on the search for the specified type.
|
||||
<span class="sig-name descname"><span class="pre">link</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">link_name</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#pyteamsnap.client.TeamSnap.link" title="Permalink to this definition"></a></dt>
|
||||
<dd></dd></dl>
|
||||
|
||||
<dl class="py method">
|
||||
<dt class="sig sig-object py" id="pyteamsnap.client.TeamSnap.parse_response">
|
||||
<em class="property"><span class="pre">classmethod</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">parse_response</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">response</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">dict</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">list</span></span></span><a class="headerlink" href="#pyteamsnap.client.TeamSnap.parse_response" title="Permalink to this definition"></a></dt>
|
||||
<dd></dd></dl>
|
||||
|
||||
<dl class="py method">
|
||||
<dt class="sig sig-object py" id="pyteamsnap.client.TeamSnap.post_item">
|
||||
<span class="sig-name descname"><span class="pre">post_item</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">rel</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">data</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">dict</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">dict</span></span></span><a class="headerlink" href="#pyteamsnap.client.TeamSnap.post_item" title="Permalink to this definition"></a></dt>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -6,8 +6,9 @@ from apiclient import (
|
||||
JsonResponseHandler,
|
||||
JsonRequestFormatter,
|
||||
)
|
||||
from pyteamsnap.models.base import BaseApiObject
|
||||
from pyteamsnap.models.base import BaseTeamsnapObject
|
||||
import datetime
|
||||
from pyteamsnap.formatters import CollectionJsonResponseHandler, CollectionJsonRequestFormatter
|
||||
|
||||
TTeamSnap = T.TypeVar("TTeamSnap", bound="TeamSnap")
|
||||
|
||||
@@ -24,14 +25,14 @@ class TeamSnap(APIClient):
|
||||
super().__init__(
|
||||
*args,
|
||||
authentication_method=HeaderAuthentication(token=token),
|
||||
response_handler=JsonResponseHandler,
|
||||
request_formatter=JsonRequestFormatter,
|
||||
response_handler=CollectionJsonResponseHandler,
|
||||
request_formatter=CollectionJsonRequestFormatter,
|
||||
**kwargs,
|
||||
)
|
||||
self._root_collection = self.get(self.base_url)["collection"]
|
||||
self._links = self._by_rel(self.base_url, "links")
|
||||
self._queries = self._by_rel(self.base_url, "queries")
|
||||
self._commands = self._by_rel(self.base_url, "commands")
|
||||
self._root_collection = self.get(self.base_url)
|
||||
self._links = self._root_collection.links
|
||||
self._queries = self._root_collection.queries
|
||||
# self._commands = self._root_collection.commands # TODO add 'commands' in the future. It is non-standard
|
||||
pass
|
||||
|
||||
def link(self, link_name):
|
||||
@@ -39,12 +40,12 @@ class TeamSnap(APIClient):
|
||||
return d.get(link_name)
|
||||
|
||||
def bulk_load(
|
||||
self, team_id, types: T.List[BaseApiObject], **kwargs
|
||||
self, team_id, types: T.List[BaseTeamsnapObject], **kwargs
|
||||
) -> T.List[TTeamSnap]:
|
||||
"""
|
||||
|
||||
:param team_id:
|
||||
:param types: List of items to fetch, in the form of BaseApiObject classes
|
||||
:param types: List of items to fetch, in the form of BaseTeamsnapObject classes
|
||||
:param kwargs: Additional filters passed into requested types by passing them in the url's querystring
|
||||
as type__filter=value (i.e. ?event__start_date=2015-01-01).
|
||||
Any filter can be passed that is available on the search for the specified type.
|
||||
@@ -52,61 +53,41 @@ class TeamSnap(APIClient):
|
||||
"""
|
||||
types_dict = {t.type: t for t in types}
|
||||
r = self.query(
|
||||
rel="self",
|
||||
rel="root",
|
||||
query="bulk_load",
|
||||
types=",".join(types_dict.keys()),
|
||||
team_id=team_id,
|
||||
**kwargs,
|
||||
**kwargs
|
||||
)
|
||||
|
||||
result = []
|
||||
for item in r:
|
||||
cls = types_dict[item["type"]]
|
||||
cls = types_dict[item['type']]
|
||||
instance = cls(self, data=item)
|
||||
result.append(instance)
|
||||
return result
|
||||
|
||||
def _by_rel(self, url: str, record_key: str) -> dict:
|
||||
"""Get a mapping of record_key to its collection.
|
||||
|
||||
:param url:
|
||||
:param record_key: one of "href", "version", "links", "items", "queries", "commands", "template", "error"
|
||||
:return: A mapping of record_key to its collection
|
||||
"""
|
||||
collection = self.get(url)["collection"]
|
||||
return {collection["rel"]: collection for collection in collection[record_key]}
|
||||
|
||||
def query(self, rel, query: str, **kwargs) -> list:
|
||||
queries = self._by_rel(self._get_href(rel), "queries")
|
||||
response = self.get(self._get_href(rel=query, links=queries), params=kwargs)
|
||||
return self.parse_response(response)
|
||||
if rel == 'root':
|
||||
queries = self._root_collection.queries
|
||||
else:
|
||||
href = self._root_collection.links.get(rel=rel).href
|
||||
queries = self.get(href).queries
|
||||
|
||||
response = self.get(
|
||||
queries.get(rel=query).href,
|
||||
params=kwargs)
|
||||
parsed_response = [{d.name: d.value for d in item.data} for item in response.items]
|
||||
return parsed_response
|
||||
|
||||
def command(self, rel, command: str, **kwargs) -> list:
|
||||
commands = self._by_rel(self._get_href(rel), "commands")
|
||||
response = self.get(self._get_href(command, commands), params=kwargs)
|
||||
return self.parse_response(response)
|
||||
|
||||
def _get_href(self, rel: str, links: dict = None, url: str = base_url) -> str:
|
||||
"""
|
||||
|
||||
:param rel:
|
||||
:param links:
|
||||
:param url:
|
||||
:return: A hyperlink from the links dictionary. Each item in the links dictionary is a
|
||||
dictionary with a rel and href key
|
||||
"""
|
||||
try:
|
||||
if links is None:
|
||||
links = self._by_rel(url, "links")
|
||||
|
||||
link = links[rel]["href"]
|
||||
except Exception as e:
|
||||
raise e
|
||||
return link
|
||||
raise NotImplementedError
|
||||
|
||||
def get_item(self, rel: str, id: T.Union[int, str]) -> dict:
|
||||
r = self.get(f"{self.link(rel)}/{id}")
|
||||
return self.parse_response(r)[0]
|
||||
href = self._root_collection.links.get(rel=rel).href
|
||||
response = self.get(f"{href}/{id}")
|
||||
item = response.items[0]
|
||||
return {d.name: d.value for d in item.data}
|
||||
|
||||
def post_item(self, rel: str, data: dict) -> dict:
|
||||
r = super(TeamSnap, self).post(f"{self.link(rel)}", data=data)
|
||||
@@ -119,25 +100,3 @@ class TeamSnap(APIClient):
|
||||
def delete_item(self, rel, id: T.Union[int, str]) -> None:
|
||||
super(TeamSnap, self).delete(f"{self.link(rel)}/{id}")
|
||||
return None
|
||||
|
||||
@classmethod
|
||||
def parse_response(self, response: dict) -> list:
|
||||
result = []
|
||||
for item in response["collection"].get("items", []):
|
||||
details = {}
|
||||
for detail in item["data"]:
|
||||
value = detail["value"]
|
||||
value_type = detail["type"]
|
||||
if value:
|
||||
if value_type == "DateTime":
|
||||
value = datetime.datetime.strptime(value, "%Y-%m-%dT%H:%M:%S%z")
|
||||
elif value_type == "Boolean":
|
||||
if value is not True:
|
||||
value = False
|
||||
elif value_type == "Integer":
|
||||
value = int(value)
|
||||
details[detail["name"]] = value
|
||||
result.append(details)
|
||||
|
||||
return result
|
||||
# return [{detail['name']: detail['value'] for detail in item} for item in items]
|
||||
|
||||
57
pyteamsnap/formatters.py
Normal file
57
pyteamsnap/formatters.py
Normal file
@@ -0,0 +1,57 @@
|
||||
from apiclient.response_handlers import BaseResponseHandler
|
||||
from apiclient.request_formatters import BaseRequestFormatter
|
||||
from apiclient.response import Response
|
||||
from typing import Optional
|
||||
from apiclient.exceptions import ResponseParseError
|
||||
from apiclient.utils.typing import JsonType, XmlType, OptionalJsonType, OptionalStr
|
||||
from json import JSONDecodeError
|
||||
from collection_json import Collection
|
||||
import json
|
||||
import datetime
|
||||
|
||||
def date_hook(obj):
|
||||
t = type(obj)
|
||||
|
||||
if t is dict:
|
||||
return {k: date_hook(v) for k, v in obj.items()}
|
||||
if t is list:
|
||||
return [date_hook(elem) for elem in obj]
|
||||
if t is str:
|
||||
if "-" in obj and "Z" in obj and "Z" in obj and len(obj) == 20:
|
||||
try:
|
||||
return datetime.datetime.strptime(obj, "%Y-%m-%dT%H:%M:%S%z")
|
||||
except ValueError as e:
|
||||
raise e
|
||||
elif obj.count('-') == 2 and len(obj) == 10:
|
||||
try:
|
||||
return datetime.datetime.strptime(obj, "%Y-%m-%d")
|
||||
except ValueError as e:
|
||||
raise e
|
||||
return obj
|
||||
return obj
|
||||
|
||||
class CollectionJsonResponseHandler(BaseResponseHandler):
|
||||
"""Attempt to return the decoded response data as json."""
|
||||
|
||||
@staticmethod
|
||||
def get_request_data(response: Response) -> Optional[JsonType]:
|
||||
if response.get_raw_data() == "":
|
||||
return None
|
||||
|
||||
try:
|
||||
response_json_collection = Collection.from_json(response.get_raw_data(), object_hook=date_hook)
|
||||
except JSONDecodeError as error:
|
||||
raise ResponseParseError(
|
||||
f"Unable to decode response data to json. data='{response.get_raw_data()}'"
|
||||
) from error
|
||||
return response_json_collection
|
||||
|
||||
class CollectionJsonRequestFormatter(BaseRequestFormatter):
|
||||
"""Format the outgoing data as json."""
|
||||
|
||||
content_type = "application/json"
|
||||
|
||||
@classmethod
|
||||
def format(cls, data: OptionalJsonType) -> OptionalStr:
|
||||
if data:
|
||||
return json.dumps(data)
|
||||
@@ -1,4 +1,4 @@
|
||||
from .base import BaseApiObject
|
||||
from .base import BaseTeamsnapObject
|
||||
from enum import Enum
|
||||
|
||||
class AvailabilityStatusCode(Enum):
|
||||
@@ -6,7 +6,7 @@ class AvailabilityStatusCode(Enum):
|
||||
MAYBE = 2
|
||||
NO = 0
|
||||
|
||||
class Availability(BaseApiObject):
|
||||
class Availability(BaseTeamsnapObject):
|
||||
rel = "availabilities"
|
||||
type = "availability"
|
||||
version = "3.866.0"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from .base import BaseApiObject
|
||||
from .base import BaseTeamsnapObject
|
||||
|
||||
|
||||
class AvailabilitySummary(BaseApiObject):
|
||||
class AvailabilitySummary(BaseTeamsnapObject):
|
||||
rel = "availability_summaries"
|
||||
type = "availability_summary"
|
||||
version = "3.866.0"
|
||||
@@ -18,3 +18,6 @@ class AvailabilitySummary(BaseApiObject):
|
||||
"player_maybe_count",
|
||||
"player_unknown_count",
|
||||
]
|
||||
|
||||
def __str__(self):
|
||||
return f"{self.going_count} going, {self.maybe_count} maybe going, {self.not_going_count} not going, {self.unknown_count} unknown."
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
from __future__ import annotations
|
||||
import apiclient.exceptions
|
||||
from apiclient import (
|
||||
APIClient,
|
||||
)
|
||||
import pyteamsnap.client
|
||||
import typing as T
|
||||
from abc import ABC
|
||||
from itertools import chain
|
||||
|
||||
from collection_json import Collection
|
||||
|
||||
# Import "preview" of Self typing
|
||||
# https://stackoverflow.com/a/70932112
|
||||
from typing_extensions import Self
|
||||
|
||||
|
||||
class NotPossibleError(Exception):
|
||||
"""Raised for actions that are not possible to perform this action per API"""
|
||||
"""Raised for actions that are not possible to perform per API"""
|
||||
pass
|
||||
|
||||
class BaseApiObject(ABC):
|
||||
|
||||
class BaseTeamsnapObject(ABC):
|
||||
rel: str = None
|
||||
version: str = None
|
||||
|
||||
@@ -27,21 +27,22 @@ class BaseApiObject(ABC):
|
||||
]
|
||||
|
||||
def __init__(
|
||||
self, client: APIClient, data: T.Dict[str, T.Union[str, list]] = {}
|
||||
self, client: pyteamsnap.client.TeamSnap, data: T.Dict[str, T.Union[str, list]] = {}
|
||||
) -> None:
|
||||
"""
|
||||
|
||||
:param client:
|
||||
:param client: TeamSnap client
|
||||
:param data: Data to instantiate instance, defaults to empty dict.
|
||||
"""
|
||||
self.client = client
|
||||
|
||||
slots = list(chain.from_iterable(getattr(cls, '__slots__', []) for cls in self.__class__.__mro__))
|
||||
for k, v in data.items():
|
||||
if k == "id" :
|
||||
setattr(self, 'id', v) #TODO remove this, here for backward compatibility, but bad idea
|
||||
if k == "id":
|
||||
setattr(self, 'id',
|
||||
v) # remove id property from BaseTeamsnapObject, here for backward compatibility, but bad idea
|
||||
setattr(self, 'id_', v)
|
||||
elif k in ['type', 'rel']: #read only, inherit to class type
|
||||
elif k in ['type', 'rel']: # read only, inherit to class type
|
||||
continue
|
||||
elif k in slots:
|
||||
setattr(self, k, v)
|
||||
@@ -50,58 +51,82 @@ class BaseApiObject(ABC):
|
||||
pass
|
||||
pass
|
||||
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
def __repr__(self):
|
||||
return f'<TeamSnap {self.__class__.__name__} id={self.id_} name="{self.rel}">'
|
||||
|
||||
return f'<{self.__class__.__name__} id={self.id_}>'
|
||||
|
||||
@property
|
||||
def data(self) -> T.Dict[str, T.Union[str, list]]:
|
||||
"""Data dictionary for object
|
||||
|
||||
:return: dict: dict with keys:
|
||||
:return: dict: dictionary with object's properties
|
||||
"""
|
||||
slots = chain.from_iterable(getattr(cls, '__slots__', []) for cls in self.__class__.__mro__)
|
||||
return {k:getattr(self, k, None) for k in slots}
|
||||
data = {k: getattr(self, k, None) for k in slots}
|
||||
|
||||
data['id'] = data.pop('id_')
|
||||
|
||||
return data
|
||||
|
||||
@classmethod
|
||||
def search(cls, client: APIClient, **kwargs):
|
||||
def search(cls, client: pyteamsnap.client.TeamSnap, **kwargs) -> T.List[Self]:
|
||||
"""
|
||||
|
||||
:param client:
|
||||
:param kwargs:
|
||||
:return: List of TeamSnapBaseObjects
|
||||
"""
|
||||
try:
|
||||
results = client.query(cls.rel, "search", **kwargs)
|
||||
except apiclient.exceptions.ServerError as e:
|
||||
raise e
|
||||
return [cls(client, data=r) for r in results]
|
||||
return [cls(client, data=result) for result in results]
|
||||
|
||||
@classmethod
|
||||
def get(cls, client: APIClient, id: T.Union[int, str]) -> Self:
|
||||
r = client.get(f"{client.link(cls.rel)}/{id}")
|
||||
return cls(client, client.parse_response(r)[0])
|
||||
def get(cls, client: pyteamsnap.client.TeamSnap, id_: T.Union[int, str]) -> Self:
|
||||
"""
|
||||
Get one TeamsnapBaseObject from the client
|
||||
:param client: T
|
||||
:param id_: TeamSnap id of the desired object
|
||||
:return:
|
||||
"""
|
||||
result = client.get_item(cls.rel, id_)
|
||||
return cls(client, data=result)
|
||||
|
||||
@classmethod
|
||||
def new(cls, client: Self) -> Self:
|
||||
return cls(client)
|
||||
def new(cls, client: pyteamsnap.client.TeamSnap, data: dict = {}) -> Self:
|
||||
"""
|
||||
Creates a new, blank TeamsnapBaseobject
|
||||
:param client: TeamSnap client
|
||||
:param data: TeamSnap client
|
||||
:return:
|
||||
"""
|
||||
return cls(client, data=data)
|
||||
|
||||
def post(self) -> Self:
|
||||
data = {
|
||||
"template": {
|
||||
"data": [{"name": k, "value": v} for k, v in self.data.items()]
|
||||
}
|
||||
}
|
||||
r = self.client.post_item(self.rel, data=data)
|
||||
return self
|
||||
''' Create object on
|
||||
|
||||
:return:
|
||||
'''
|
||||
data = [{"name": k, "value": v} for k, v in self.data.items()]
|
||||
collection = Collection(template={'data':data})
|
||||
response = self.client.post_item(self.rel, data=collection)
|
||||
if response:
|
||||
return self
|
||||
else:
|
||||
raise Exception
|
||||
|
||||
def put(self) -> Self:
|
||||
data = {
|
||||
"template": {
|
||||
"data": [{"name": k, "value": str(v)} for k, v in self.data.items()]
|
||||
}
|
||||
}
|
||||
id = self.data.get("id")
|
||||
r = self.client.put_item(self.rel, id=id, data=data)
|
||||
return self
|
||||
data = [{"name": k, "value": v} for k, v in self.data.items()]
|
||||
collection = Collection(template={'data': data})
|
||||
id = collection.template.id.value
|
||||
response = self.client.put_item(self.rel, id=id, data=data)
|
||||
if response:
|
||||
return self
|
||||
else:
|
||||
raise Exception
|
||||
|
||||
def delete(self):
|
||||
self.client.delete_item(self.rel, id=self.data["id"])
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from .base import BaseApiObject
|
||||
from .base import BaseTeamsnapObject
|
||||
|
||||
|
||||
class Event(BaseApiObject):
|
||||
class Event(BaseTeamsnapObject):
|
||||
"""Associated object to a team; and represents an event or game that is tracked in the TeamSnap system.
|
||||
https://www.teamsnap.com/documentation/apiv3/objects#Events
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from .base import BaseApiObject
|
||||
from .base import BaseTeamsnapObject
|
||||
|
||||
|
||||
class EventLineup(BaseApiObject):
|
||||
class EventLineup(BaseTeamsnapObject):
|
||||
rel = "event_lineups"
|
||||
type = "event_lineup"
|
||||
version = "3.866.0"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from .base import BaseApiObject
|
||||
from .base import BaseTeamsnapObject
|
||||
|
||||
|
||||
class EventLineupEntry(BaseApiObject):
|
||||
class EventLineupEntry(BaseTeamsnapObject):
|
||||
rel = "event_lineup_entries"
|
||||
type = "event_lineup_entry"
|
||||
version = "3.866.0"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from .base import BaseApiObject
|
||||
from .base import BaseTeamsnapObject
|
||||
|
||||
|
||||
class Location(BaseApiObject):
|
||||
class Location(BaseTeamsnapObject):
|
||||
rel = "locations"
|
||||
type = "location"
|
||||
version = "3.866.0"
|
||||
|
||||
@@ -11,7 +11,3 @@ class Me(User):
|
||||
rel = "me"
|
||||
type = "user"
|
||||
version = "3.866.0"
|
||||
|
||||
def __new__(self, client):
|
||||
data = client.parse_response(client.get(client.link(self.rel)))[0]
|
||||
return User(client=client, data=data)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from .base import BaseApiObject
|
||||
from .base import BaseTeamsnapObject
|
||||
|
||||
|
||||
class Member(BaseApiObject):
|
||||
class Member(BaseTeamsnapObject):
|
||||
"""A member (also referred to as a roster in our web and mobile apps) is a member of a team.
|
||||
https://www.teamsnap.com/documentation/apiv3/objects#Members
|
||||
|
||||
@@ -36,6 +36,3 @@ class Member(BaseApiObject):
|
||||
|
||||
def __str__(self):
|
||||
return f"{self.first_name} {self.last_name}"
|
||||
|
||||
def __repr__(self):
|
||||
return f'<TeamSnap {self.__class__.__name__} id={self.id} first_name="{self.first_name}" last_name="{self.last_name}">'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from .base import BaseApiObject
|
||||
from .base import BaseTeamsnapObject
|
||||
|
||||
|
||||
class MemberStatistics(BaseApiObject):
|
||||
class MemberStatistics(BaseTeamsnapObject):
|
||||
rel = "member_statistics"
|
||||
type = "member_statistic"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from .base import BaseApiObject
|
||||
from .base import BaseTeamsnapObject
|
||||
|
||||
|
||||
class Opponent(BaseApiObject):
|
||||
class Opponent(BaseTeamsnapObject):
|
||||
rel = "opponents"
|
||||
type = "opponent"
|
||||
version = "3.866.0"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from .base import BaseApiObject
|
||||
from .base import BaseTeamsnapObject
|
||||
|
||||
|
||||
class Statistics(BaseApiObject):
|
||||
class Statistics(BaseTeamsnapObject):
|
||||
rel = "statistics"
|
||||
type = "statistic"
|
||||
version = "3.866.0"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from .base import BaseApiObject
|
||||
from .base import BaseTeamsnapObject
|
||||
|
||||
|
||||
class Team(BaseApiObject):
|
||||
class Team(BaseTeamsnapObject):
|
||||
"""Associated teams from your origin object. Full CRUD is possible with the teams endpoint.
|
||||
https://www.teamsnap.com/documentation/apiv3/objects#Teams
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from .base import BaseApiObject, NotPossibleError
|
||||
from .base import BaseTeamsnapObject, NotPossibleError
|
||||
|
||||
|
||||
class User(BaseApiObject):
|
||||
class User(BaseTeamsnapObject):
|
||||
|
||||
rel = "users"
|
||||
type = "user"
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
api-client==1.3.1
|
||||
typing-extensions==4.4
|
||||
git+https://github.com/anthonyscorrea/collection-json.python.git#egg=collection-json
|
||||
|
||||
@@ -8,7 +8,7 @@ from unittest import TestCase
|
||||
|
||||
from pyteamsnap import client
|
||||
from os import getenv
|
||||
from pyteamsnap.models.base import BaseApiObject
|
||||
from pyteamsnap.models.base import BaseTeamsnapObject
|
||||
import vcr
|
||||
TEAMSNAP_TOKEN = getenv('TEAMSNAP_TOKEN')
|
||||
TEAMSNAP_TEAM = getenv('TEAMSNAP_TEAM')
|
||||
@@ -17,13 +17,14 @@ TEAMSNAP_EVENT = getenv('TEAMSNAP_EVENT')
|
||||
vcr_options = {
|
||||
'decode_compressed_response': True,
|
||||
'cassette_library_dir':'tests/fixtures/cassettes',
|
||||
'record_mode':'new_episodes',
|
||||
'filter_headers':['authorization']
|
||||
}
|
||||
|
||||
class BaseModelTestCase:
|
||||
"""Tests for `pyteamsnap` package."""
|
||||
__test__= False
|
||||
TestClass: BaseApiObject = None
|
||||
TestClass: BaseTeamsnapObject = None
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls) -> None:
|
||||
@@ -42,6 +43,10 @@ class BaseModelTestCase:
|
||||
instance = search_results[0]
|
||||
self.assertIsInstance(instance, self.TestClass)
|
||||
self.assertTrue(len(instance.data))
|
||||
|
||||
retrieved_instance = self.TestClass.get(self.client, instance.id)
|
||||
self.assertIsInstance(retrieved_instance, self.TestClass)
|
||||
self.assertTrue(len(retrieved_instance.data))
|
||||
return instance
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ from unittest import TestCase
|
||||
|
||||
from pyteamsnap import client
|
||||
from os import getenv
|
||||
from pyteamsnap.models.base import BaseApiObject
|
||||
from pyteamsnap.models.base import BaseTeamsnapObject
|
||||
import vcr
|
||||
TEAMSNAP_TOKEN = getenv('TEAMSNAP_TOKEN')
|
||||
TEAMSNAP_TEAM = getenv('TEAMSNAP_TEAM')
|
||||
Reference in New Issue
Block a user