Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
class EulatrackingPublicService(Route):
BASE = 'https://eulatracking-public-service-prod-m.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class AffiliatePublicService(Route):
BASE = 'https://affiliate-public-service-prod.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class EventsPublicService(Route):
BASE = 'https://events-public-service-live.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class FortniteContentWebsite(Route):
BASE = 'https://fortnitecontent-website-prod07.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class FortnitePublicService(Route):
BASE = 'https://fortnite-public-service-prod11.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class FriendsPublicService(Route):
BASE = 'https://friends-public-service-prod.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class PartyService(Route):
BASE = 'https://party-service-prod.ol.epicgames.com'
class FriendsPublicService(Route):
BASE = 'https://friends-public-service-prod.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class PartyService(Route):
BASE = 'https://party-service-prod.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class PresencePublicService(Route):
BASE = 'https://presence-public-service-prod.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class StatsproxyPublicService(Route):
BASE = 'https://statsproxy-public-service-live.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class HTTPClient:
def __init__(self, client: 'Client', *,
connector: aiohttp.BaseConnector = None) -> None:
self.client = client
self.connector = connector
self._jar = aiohttp.CookieJar()
self.headers = {}
self.device_id = self.client.auth.device_id
self.create_connection()
@staticmethod
class LauncherWebsite(Route):
BASE = 'https://launcher-website-prod07.ol.epicgames.com'
AUTH = None
class EntitlementPublicService(Route):
BASE = 'https://entitlement-public-service-prod08.ol.epicgames.com'
AUTH = 'LAUNCHER_ACCESS_TOKEN'
class OrderprocessorPublicService(Route):
BASE = 'https://orderprocessor-public-service-ecomprod01.ol.epicgames.com'
AUTH = 'LAUNCHER_ACCESS_TOKEN'
class PaymentWebsite(Route):
BASE = 'https://payment-website-pci.ol.epicgames.com'
AUTH = 'LAUNCHER_ACCESS_TOKEN'
class LightswitchPublicService(Route):
BASE = 'https://lightswitch-public-service-prod06.ol.epicgames.com'
AUTH = 'LAUNCHER_ACCESS_TOKEN'
class ProfileSearchService(Route):
BASE = 'https://user-search-service-prod.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class AccountPublicService(Route):
BASE = 'https://account-public-service-prod.ol.epicgames.com'
class AccountPublicService(Route):
BASE = 'https://account-public-service-prod.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class EulatrackingPublicService(Route):
BASE = 'https://eulatracking-public-service-prod-m.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class AffiliatePublicService(Route):
BASE = 'https://affiliate-public-service-prod.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class EventsPublicService(Route):
BASE = 'https://events-public-service-live.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class FortniteContentWebsite(Route):
BASE = 'https://fortnitecontent-website-prod07.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class FortnitePublicService(Route):
BASE = 'https://fortnite-public-service-prod11.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class FriendsPublicService(Route):
BASE = 'https://friends-public-service-prod.ol.epicgames.com'
if auth:
self.AUTH = auth
class EpicGamesGraphQL(Route):
BASE = 'https://graphql.epicgames.com/graphql'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class EpicGames(Route):
BASE = 'https://www.epicgames.com'
AUTH = None
class LauncherWebsite(Route):
BASE = 'https://launcher-website-prod07.ol.epicgames.com'
AUTH = None
class EntitlementPublicService(Route):
BASE = 'https://entitlement-public-service-prod08.ol.epicgames.com'
AUTH = 'LAUNCHER_ACCESS_TOKEN'
class OrderprocessorPublicService(Route):
BASE = 'https://orderprocessor-public-service-ecomprod01.ol.epicgames.com'
AUTH = 'LAUNCHER_ACCESS_TOKEN'
class PaymentWebsite(Route):
BASE = 'https://payment-website-pci.ol.epicgames.com'
class AffiliatePublicService(Route):
BASE = 'https://affiliate-public-service-prod.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class EventsPublicService(Route):
BASE = 'https://events-public-service-live.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class FortniteContentWebsite(Route):
BASE = 'https://fortnitecontent-website-prod07.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class FortnitePublicService(Route):
BASE = 'https://fortnite-public-service-prod11.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class FriendsPublicService(Route):
BASE = 'https://friends-public-service-prod.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class PartyService(Route):
BASE = 'https://party-service-prod.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class PresencePublicService(Route):
BASE = 'https://presence-public-service-prod.ol.epicgames.com'
class FortniteContentWebsite(Route):
BASE = 'https://fortnitecontent-website-prod07.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class FortnitePublicService(Route):
BASE = 'https://fortnite-public-service-prod11.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class FriendsPublicService(Route):
BASE = 'https://friends-public-service-prod.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class PartyService(Route):
BASE = 'https://party-service-prod.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class PresencePublicService(Route):
BASE = 'https://presence-public-service-prod.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class StatsproxyPublicService(Route):
BASE = 'https://statsproxy-public-service-live.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class HTTPClient:
def __init__(self, client: 'Client', *,
class EntitlementPublicService(Route):
BASE = 'https://entitlement-public-service-prod08.ol.epicgames.com'
AUTH = 'LAUNCHER_ACCESS_TOKEN'
class OrderprocessorPublicService(Route):
BASE = 'https://orderprocessor-public-service-ecomprod01.ol.epicgames.com'
AUTH = 'LAUNCHER_ACCESS_TOKEN'
class PaymentWebsite(Route):
BASE = 'https://payment-website-pci.ol.epicgames.com'
AUTH = 'LAUNCHER_ACCESS_TOKEN'
class LightswitchPublicService(Route):
BASE = 'https://lightswitch-public-service-prod06.ol.epicgames.com'
AUTH = 'LAUNCHER_ACCESS_TOKEN'
class ProfileSearchService(Route):
BASE = 'https://user-search-service-prod.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class AccountPublicService(Route):
BASE = 'https://account-public-service-prod.ol.epicgames.com'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class EulatrackingPublicService(Route):
BASE = 'https://eulatracking-public-service-prod-m.ol.epicgames.com'
if self.BASE == '':
raise ValueError('Route must have a base')
url = self.BASE + self.path
self.url = url.format(**self.params) if self.params else url
if auth:
self.AUTH = auth
class EpicGamesGraphQL(Route):
BASE = 'https://graphql.epicgames.com/graphql'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class EpicGames(Route):
BASE = 'https://www.epicgames.com'
AUTH = None
class LauncherWebsite(Route):
BASE = 'https://launcher-website-prod07.ol.epicgames.com'
AUTH = None
class EntitlementPublicService(Route):
BASE = 'https://entitlement-public-service-prod08.ol.epicgames.com'
AUTH = 'LAUNCHER_ACCESS_TOKEN'
class OrderprocessorPublicService(Route):
BASE = 'https://orderprocessor-public-service-ecomprod01.ol.epicgames.com'
**params: Any) -> None:
self.path = path
self.params = {k: (quote(v) if isinstance(v, str) else v)
for k, v in params.items()}
if self.BASE == '':
raise ValueError('Route must have a base')
url = self.BASE + self.path
self.url = url.format(**self.params) if self.params else url
if auth:
self.AUTH = auth
class EpicGamesGraphQL(Route):
BASE = 'https://graphql.epicgames.com/graphql'
AUTH = 'FORTNITE_ACCESS_TOKEN'
class EpicGames(Route):
BASE = 'https://www.epicgames.com'
AUTH = None
class LauncherWebsite(Route):
BASE = 'https://launcher-website-prod07.ol.epicgames.com'
AUTH = None
class EntitlementPublicService(Route):
BASE = 'https://entitlement-public-service-prod08.ol.epicgames.com'