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.8.tar.gz (6.2 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.8-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ready2order-api-wrapper-0.1.8.tar.gz
  • Upload date:
  • Size: 6.2 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.8.tar.gz
Algorithm Hash digest
SHA256 9569f15334a9431a893246d31db4fabcca04f084171075a63fea4cfbd14289fd
MD5 0fbb1c652afcecd00139e44b030ec9b5
BLAKE2b-256 4e73915f5f6ee90537fdae4c710ed4b269ef8501b3273bbbfebe347d69959570

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ready2order_api_wrapper-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 61e88ddd23a624003c32edf7479b34c555661694b52d86ed7bd9a78cc3c5325d
MD5 a4dae247c8d47fa47f922e0215922630
BLAKE2b-256 ae6d656eb5f24dd4e95dd66d7f9606f51784f9cd60bde2110af39780afd93af7

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