forked from limx0/betfair_parser
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Group all API symbols from spec / accounts,betting,streaming for easi…
…er import
- Loading branch information
Showing
15 changed files
with
256 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,39 @@ | ||
from betfair_parser.spec.accounts import enums, operations, type_definitions # noqa | ||
from betfair_parser.spec.accounts import enums, operations, type_definitions | ||
from betfair_parser.spec.accounts.enums import ( | ||
AffiliateRelationStatus, | ||
GrantType, | ||
IncludeItem, | ||
ItemClass, | ||
MarketType, | ||
Status, | ||
SubscriptionStatus, | ||
TokenType, | ||
Wallet, | ||
WinLose, | ||
) | ||
from betfair_parser.spec.accounts.operations import ( | ||
GetAccountDetails, | ||
GetAccountFunds, | ||
GetAccountStatement, | ||
ListCurrencyRates, | ||
) | ||
from betfair_parser.spec.accounts.type_definitions import ( | ||
AccountDetailsResponse, | ||
AccountFundsResponse, | ||
AccountStatementReport, | ||
AccountSubscription, | ||
AffiliateRelation, | ||
ApplicationSubscription, | ||
AuthorisationResponse, | ||
CurrencyRate, | ||
DeveloperApp, | ||
DeveloperAppVersion, | ||
StatementItem, | ||
StatementLegacyData, | ||
SubscriptionHistory, | ||
SubscriptionOptions, | ||
SubscriptionTokenInfo, | ||
VendorAccessTokenInfo, | ||
VendorDetails, | ||
) | ||
from betfair_parser.spec.common import TimeRange # noqa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,97 @@ | ||
from betfair_parser.spec.betting import enums, operations, type_definitions # noqa | ||
from betfair_parser.spec.betting import enums, operations, type_definitions | ||
from betfair_parser.spec.betting.enums import ( | ||
BetStatus, | ||
BetTargetType, | ||
ExecutionReportErrorCode, | ||
ExecutionReportStatus, | ||
GroupBy, | ||
InstructionReportErrorCode, | ||
InstructionReportStatus, | ||
MarketBettingType, | ||
MarketProjection, | ||
MarketSort, | ||
MarketStatus, | ||
MarketTypeCode, | ||
MatchProjection, | ||
OrderBy, | ||
OrderProjection, | ||
PersistenceType, | ||
PriceData, | ||
PriceLadderType, | ||
RollupModel, | ||
RunnerStatus, | ||
Side, | ||
SortDir, | ||
TimeGranularity, | ||
TimeInForce, | ||
) | ||
from betfair_parser.spec.betting.listings import ( | ||
ListCompetitions, | ||
ListCountries, | ||
ListEvents, | ||
ListEventTypes, | ||
ListMarketBook, | ||
ListMarketCatalog, | ||
ListMarketCatalogue, | ||
ListMarketProfitAndLoss, | ||
ListMarketTypes, | ||
ListRunnerBook, | ||
ListTimeRanges, | ||
ListVenues, | ||
) | ||
from betfair_parser.spec.betting.orders import ( | ||
CancelOrders, | ||
ListClearedOrders, | ||
ListCurrentOrders, | ||
PlaceOrders, | ||
ReplaceOrders, | ||
UpdateOrders, | ||
) | ||
from betfair_parser.spec.betting.type_definitions import ( | ||
CancelInstruction, | ||
ClearedOrderSummary, | ||
ClearedOrderSummaryReport, | ||
Competition, | ||
CompetitionResult, | ||
CountryCodeResult, | ||
CurrentItemDescription, | ||
CurrentOrderSummary, | ||
CurrentOrderSummaryReport, | ||
Event, | ||
EventResult, | ||
EventType, | ||
ExBestOffersOverrides, | ||
ExchangePrices, | ||
ItemDescription, | ||
KeyLineDescription, | ||
KeyLineSelection, | ||
LimitOnCloseOrder, | ||
LimitOrder, | ||
MarketBook, | ||
MarketCatalogue, | ||
MarketDescription, | ||
MarketFilter, | ||
MarketLicence, | ||
MarketLineRangeInfo, | ||
MarketOnCloseOrder, | ||
MarketRates, | ||
MarketTypeResult, | ||
MarketVersion, | ||
Match, | ||
Order, | ||
PlaceExecutionReport, | ||
PlaceInstruction, | ||
PlaceInstructionReport, | ||
PriceLadderDescription, | ||
PriceProjection, | ||
PriceSize, | ||
ReplaceInstruction, | ||
Runner, | ||
RunnerCatalog, | ||
RunnerMetaData, | ||
StartingPrices, | ||
TimeRangeResult, | ||
UpdateInstruction, | ||
VenueResult, | ||
) | ||
from betfair_parser.spec.common import EventTypeIdCode, OrderType, TimeRange # noqa for reimport |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,34 @@ | ||
"""Shared definitions between the different API parts.""" | ||
|
||
from betfair_parser.spec.common.enums import * # noqa | ||
from betfair_parser.spec.common.messages import * # noqa | ||
from betfair_parser.spec.common.type_definitions import * # noqa | ||
from betfair_parser.spec.common.enums import ( | ||
EndpointType, | ||
EventTypeIdCode, | ||
OrderResponse, | ||
OrderSide, | ||
OrderStatus, | ||
OrderType, | ||
RegulatorCode, | ||
) | ||
from betfair_parser.spec.common.messages import BaseMessage, BaseResponse, Params, Request, Response, decode, encode | ||
from betfair_parser.spec.common.type_definitions import ( | ||
BetId, | ||
CompetitionId, | ||
CountryCode, | ||
CustomerOrderRef, | ||
CustomerRef, | ||
CustomerStrategyRef, | ||
Date, | ||
EventId, | ||
EventTypeId, | ||
ExchangeId, | ||
Handicap, | ||
IDType, | ||
MarketId, | ||
MarketType, | ||
MatchId, | ||
Price, | ||
SelectionId, | ||
Size, | ||
TimeRange, | ||
Venue, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.