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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for ready2order-api-wrapper-0.1.10.tar.gz
Algorithm Hash digest
SHA256 cd3bf30b138198ee6abe875d6a6cde0ecba70870f01a1f5da690a5ff9c7ea59a
MD5 e14e0ddd869ef382d71975d5d6ed0281
BLAKE2b-256 2d1d31bfd82b4d592a5f53ad84549ce7144e229fff3a3531286cdebe595064c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ready2order_api_wrapper-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 5c0248629dba3462528fd5315cd55a0df672667c911c688fbc950b59e837dbe8
MD5 04945a2f6c3d953e97d7438a66b3d107
BLAKE2b-256 d1c1c57de911a4685674fd417737ba3ff65f14a30cae69af86134e28de37225c

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