This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Pickrr order placing, order Cancellation and order tracking api

Project Description

Pickrr Python API

Pickrr order placing, order Cancellation and order tracking api

Installation:

  • Open the terminal and write:

    $ pip install pickrr
    

How to use:

  • First setup the auth-token:

    $ from pickrr.session import Session
    $ Session.setup("auth-token")
    

    EXAMPLE:

    $ from pickrr.session import Session
    $ Session.setup("94539823sd342d5453224")
    
  • For placing order:

    $ from pickrr.placeorder import PlaceOrder
    $ PlaceOrder.placeorder(item_name,from_name,from_phone_number,from_pincode,
      from_address,to_name,to_phone_number,to_pincode,to_address,cod_amount,
      client_order_id,client_other_id)
    

    for prepaid pass cod_amount=0.0, and order_id and client_other_id are optional

    EXAMPLE:

    $ from pickrr.placeorder import PlaceOrder
    $ PlaceOrder.placeorder(item_name = "ITEM NAME",from_name = "NAME",
      from_phone_number="9999999999",from_pincode = "110023",
      from_address= "FULL ADDRESS",to_name = "TO NAME",to_phone_number ="9898989898",
      to_pincode = "110045",to_address = "TO ADDRESS",cod_amount = "123",client_order_id = "345345",
      client_other_id = "32")
    

    RETURN:

    {"pickrr_phone_number": "+91-9818197991", "err": null, "order_id": "109124", "to_notify": false,
    "order_from_city": "NEW DELHI", "item_name": "test", "user_email": "h@pickrr.com",
    "tracking_id": "90410810064184", "pickrr_name": "Sahil Goyal", "order_pk": 108100,
     "order_service_used": "Standard", "order_to_city": "NEW DELHI"}
    
  • For Cancel the order:

    $ from pickrr.cancelorder import CancelOrder
    $ CancelOrder.cancelorder(order_id)
    

    EXAMPLE:

    $ from pickrr.cancelorder import CancelOrder
    $ CancelOrder.cancelorder(order_id="109124")
    

    RETURN:

    $ {"err": null}
    
  • For order tracking:

    $ from pickrr.trackorder import TrackOrder
    $ TrackOrder.trackorder(tracking_id)
    

    EXAMPLE:

    $ from pickrr.trackorder import TrackOrder
    $ TrackOrder.trackorder(tracking_id="45323232342")
    
Release History

Release History

This version
History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pickrr-0.5.tar.gz (2.7 kB) Copy SHA256 Checksum SHA256 Source Aug 18, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting