Official BlockScore API library client for python
This library is generated by alpaca
Make sure you have pip installed
$ pip install blockscoreWorks with [ 2.6 / 2.7 / 3.2 / 3.3 ]
import block_score
# Then we instantiate a client (as shown below)client = block_score.Client()
# If you need to send options
client = block_score.Client({}, options)auth = { 'username': 'pksunkara', 'password': 'password' }
client = block_score.Client(auth, options)response = client.klass('args').method('args')
response.body
# >>> 'Hello world!'
response.code
# >>> 200
response.headers
# >>> {'content-type': 'text/html'}response.body
# >>> 'The username is pksunkara!'response.body
# >>> {'user': 'pksunkara'}body = 'username=pksunkara'body = {'user': 'pksunkara'}body = {'user': 'pksunkara'}The following options are available while instantiating a client:
- base: Base url for the api
- api_version: Default version of the api (to be used in url)
- user_agent: Default user-agent for all requests
- headers: Default headers for all requests
- request_type: Default format of the request body
The following options are available while calling a method of an api:
- api_version: Version of the api (to be used in url)
- headers: Headers for the request
- query: Query parameters for the url
- body: Body of the request
- request_type: Format of the request body
Returns user api instance
verifications = client.verifications("")The following arguments are required:
- type:
- date_of_birth:
- identification:
- name:
- address:
response = verifications.new("", "", "", "", "", options)The following arguments are required:
- id:
response = verifications.retrieve("", options)The following arguments are required:
response = verifications.list("", "", options)questions = client.questions()The following arguments are required:
- verification_id:
response = questions.new("", options)The following arguments are required:
- verification_id:
- question_set_id:
- answers:
response = questions.score("", "", "", options)Here is a list of Contributors
MIT
Report here.
John Backus ([email protected])