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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ready2order-api-wrapper-0.1.7.tar.gz
  • Upload date:
  • Size: 5.8 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.7.tar.gz
Algorithm Hash digest
SHA256 b95c5be0bc9edbad144d08dd2d74ce61a9e8b106cc3095e38d7632fae5f507c4
MD5 7dcfc85f4d5ee1d26b09331e037139cc
BLAKE2b-256 37d578251f8f48d44ce92ce2a75465700935615da40f0245b3b6daa812127b81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ready2order_api_wrapper-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c4d4a71d51374a15a658515ac147bf89d9ec3b16e7dc818141398672d0d14091
MD5 382e88603e525ad78f4a1cd7b5528664
BLAKE2b-256 bd254956d73c4a275a95e80793176d4c772430ce5aff4132cfbe88e57b08350b

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