Skip to main content

A Python wrapper for the Ready2Order API

Project description

Ready2Order API Wrapper

A Python wrapper for the Ready2Order API that simplifies the interaction with various endpoints provided by the Ready2Order platform.

Current Features

  • Fetch company information
  • Fetch product information
  • Fetch all bills (invoices)
  • Fetch a specific invoice by its ID

Installation

You can install the package via pip:

pip install ready2order-api-wrapper

Usage Example

from ready2order_api.api import Bill, Company, Product

account_token = "your_account_token_here"

# Working with bills
bill = Bill(account_token)
bills_df = bill.get_all_bills()
print(bills_df)

# Working with company info
company = Company(account_token)
company_info = company.get_company_info()
print(company_info)

# Working with products
product = Product(account_token)
products_df = product.get_products()
print(products_df)

How to get your account token

To get your developer token go to Ready2Order API, scroll to the bottom of the page and submit your email address to request the API token.

Now run the following code to get your account token:

from ready2order_api import get_acct_token

get_acct_token.get_account_token("YOUR_DEVELOPER_TOKEN")

Now click on the URL starting with: https://my.ready2order.com/api/grantAccess/..., enter your login credentials and click login. You will be redirected to a blank page. Copy the account token from the URL and save it.

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

ready2order-api-wrapper-0.1.9.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

ready2order_api_wrapper-0.1.9-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file ready2order-api-wrapper-0.1.9.tar.gz.

File metadata

  • Download URL: ready2order-api-wrapper-0.1.9.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.7

File hashes

Hashes for ready2order-api-wrapper-0.1.9.tar.gz
Algorithm Hash digest
SHA256 4c27e7440d3df9a0c03999c37714c7259c58a627d831525c9fda8138e7ee99f3
MD5 20290b0cd16677082e46038d10662b41
BLAKE2b-256 32393f8de7bc771bbe56cf9a7604218159d56c356ceb24c20b124e60dd760828

See more details on using hashes here.

File details

Details for the file ready2order_api_wrapper-0.1.9-py3-none-any.whl.

File metadata

File hashes

Hashes for ready2order_api_wrapper-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 22528b90e35e238a6f8405546c9ed922a01091e6bad00c0662b2692f46eb4d9e
MD5 e66e555da2016339c05b93dc8564fcc0
BLAKE2b-256 9e45d4ece7048bf6fd8b7f661804f6dc8a20f3563f90c3a8b25fdac331bc9450

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