Skip to main content

Projeto de SDK para o Split de Pagamentos

Project description

#SDK Braspag

###Gerar Token de autenticação

from Auth import Auth


client_id = {{client Id fornecido pela Braspag}}
client_secret = {{client Secret fornecido pela Braspag}}

auth = Auth(client_id, client_secret)

# Gera o token de autenticação
auth.generate_token()

# Retorna o token gerado
print(bp.token)

# Verifica se o token ainda é válido
print(bp.expired_token())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sdkBraspag-0.0.3.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sdkBraspag-0.0.3-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file sdkBraspag-0.0.3.tar.gz.

File metadata

  • Download URL: sdkBraspag-0.0.3.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.4

File hashes

Hashes for sdkBraspag-0.0.3.tar.gz
Algorithm Hash digest
SHA256 2e6e43653180fd45204115cb1685d4bb5100fb72d69d12f56318af989e974eb9
MD5 29bd80b0ca8c927020f14dc229e93cab
BLAKE2b-256 37c6fdb3c4e3f682596b6843a5c49319fe6717590dad3325b00488ebf12961e3

See more details on using hashes here.

File details

Details for the file sdkBraspag-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: sdkBraspag-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.4

File hashes

Hashes for sdkBraspag-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8e21cba27e2c921bccd3389dbd3d2358bfe296533251471e437d983656fc20dd
MD5 44b84aa2119918e6870e65545505ec57
BLAKE2b-256 41de1562aabe4fde51001faea984e5bd2a0d49b5fa38f0e7b9dec4f728364267

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page