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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ready2order-api-wrapper-0.1.6.tar.gz
  • Upload date:
  • Size: 5.7 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.6.tar.gz
Algorithm Hash digest
SHA256 4678b7acf7a32de119c840bc8ed9c21417e686e604005fd97c09a9e48e59a4ec
MD5 c5ea1e36a3adc04bb258b1e04f7fe662
BLAKE2b-256 83e5b2818fd1b754519971236c9de6f64651b2ee2740d150d3a9c323766536b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ready2order_api_wrapper-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2385f7f0834f7b6356d95381656ddb18f0c9e034cb1f1b3fe088aca1736dcee6
MD5 3e1e18eafd83870f0f34ac91837d4dca
BLAKE2b-256 85e182a5d1ee7d2596bc09597696d20eb1950199ed816c5554ffaa7bc022c7f1

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