Skip to content

Latest commit

 

History

History
223 lines (157 loc) · 7.53 KB

FixturesApi.md

File metadata and controls

223 lines (157 loc) · 7.53 KB

swagger_client.FixturesApi

All URIs are relative to https://sprod1.lilacfdm.com/api

Method HTTP request Description
v1_fixtures_fixture_data_fixture_type_get GET /v1/Fixtures/FixtureData/{FixtureType}
v1_fixtures_fixture_field_fixture_type_get GET /v1/Fixtures/FixtureField/{FixtureType}
v1_fixtures_fixture_field_value_fixture_type_field_name_get GET /v1/Fixtures/FixtureFieldValue/{FixtureType}/{FieldName}
v1_fixtures_fixture_types_get GET /v1/Fixtures/FixtureTypes

v1_fixtures_fixture_data_fixture_type_get

FDMAPIDTOV1FixturesFixtureData v1_fixtures_fixture_data_fixture_type_get(fixture_type, fields=fields, max_rows=max_rows, filter=filter, order_by=order_by)

Example

from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: apikey-v1
configuration = swagger_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.FixturesApi(swagger_client.ApiClient(configuration))
fixture_type = 'fixture_type_example' # str | 
fields = 'fields_example' # str |  (optional)
max_rows = 56 # int |  (optional)
filter = '' # str |  (optional)
order_by = '' # str |  (optional)

try:
    api_response = api_instance.v1_fixtures_fixture_data_fixture_type_get(fixture_type, fields=fields, max_rows=max_rows, filter=filter, order_by=order_by)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FixturesApi->v1_fixtures_fixture_data_fixture_type_get: %s\n" % e)

Parameters

Name Type Description Notes
fixture_type str
fields str [optional]
max_rows int [optional]
filter str [optional]
order_by str [optional]

Return type

FDMAPIDTOV1FixturesFixtureData

Authorization

apikey-v1

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]

v1_fixtures_fixture_field_fixture_type_get

list[FDMAPIDTOV1FixturesFixtureField] v1_fixtures_fixture_field_fixture_type_get(fixture_type)

Example

from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: apikey-v1
configuration = swagger_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.FixturesApi(swagger_client.ApiClient(configuration))
fixture_type = 'fixture_type_example' # str | 

try:
    api_response = api_instance.v1_fixtures_fixture_field_fixture_type_get(fixture_type)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FixturesApi->v1_fixtures_fixture_field_fixture_type_get: %s\n" % e)

Parameters

Name Type Description Notes
fixture_type str

Return type

list[FDMAPIDTOV1FixturesFixtureField]

Authorization

apikey-v1

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]

v1_fixtures_fixture_field_value_fixture_type_field_name_get

list[str] v1_fixtures_fixture_field_value_fixture_type_field_name_get(fixture_type, field_name, filter=filter)

Example

from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: apikey-v1
configuration = swagger_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.FixturesApi(swagger_client.ApiClient(configuration))
fixture_type = 'fixture_type_example' # str | 
field_name = 'field_name_example' # str | 
filter = '' # str |  (optional)

try:
    api_response = api_instance.v1_fixtures_fixture_field_value_fixture_type_field_name_get(fixture_type, field_name, filter=filter)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FixturesApi->v1_fixtures_fixture_field_value_fixture_type_field_name_get: %s\n" % e)

Parameters

Name Type Description Notes
fixture_type str
field_name str
filter str [optional]

Return type

list[str]

Authorization

apikey-v1

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]

v1_fixtures_fixture_types_get

list[str] v1_fixtures_fixture_types_get()

Example

from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: apikey-v1
configuration = swagger_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.FixturesApi(swagger_client.ApiClient(configuration))

try:
    api_response = api_instance.v1_fixtures_fixture_types_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FixturesApi->v1_fixtures_fixture_types_get: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

list[str]

Authorization

apikey-v1

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/xml, text/xml, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]