API

Direct

This API allows pushing and retreiving direct schedule for Netflix

class s4gpy.api.direct.DirectAPI(session)

This class wraps the direct API

get_direct_schedule()

access direct schedule for netflix fr

Returns

netflix direct schedule

Credentials

This API allows getting credentials for supported service providers, to be used by robots for automatic data scrapping.

class s4gpy.api.credentials.CredentialAPI(session)

Wraps credential API.

get_credentials(provider_name)

Get a tuple of containing credentials for the supplied provider, chosen at random

get_credentials_all(provider_name)

Get a list of tuples containing credentials for the supplied provider.

get_providers()

get a tuple containing the names providers for which we have at least a credential available

Consommation

This API allows accessing user-generated consumption data.

class s4gpy.api.consoapi.ConsoAPI(session)

This class wraps the conso-api.

create_direct_schedule(airing_time, video_id)

Publish or updated a new direct schedule.

Netflix

This API provides access to content information published in the netflix platform

class s4gpy.api.netflixapi.NetflixAPI(session)

This class wraps the netflix-api.

get_root()

get the root of the netflix api

Users

This API provides access to users data.

class s4gpy.api.user.UserAPI(session)

This class wraps the user API

get_user(user_id)

get information about a particular user.

get_users()

returns a list of users.

Companies

This API allows accessing and pushing data about producing companies for a particular content.

class s4gpy.api.companyapi.CompanyAPI(session)

This class wraps the company-mapper api.

get_companies()

Get all the companies in the system

get_company(id)

retreives information from a particular company, identified by its cc_code

get_content(id)

retreives information form a particular content, identified by its cc_code

get_contents()

Get all the contents in the systel

get_root()

Get the root of the company mapping api

push_company(id, name, link, country=None)

Publish a new company.

push_content(id, company_names)

Publish a new content associated with some company names.

updated_company_country(id, country)

Updates a company country