Coder Social home page Coder Social logo

aliexpressorders's Introduction

AliexpressOrders

Now track your own aliexpress orders easily. This python script generates a json representation of all your orders. It also saved the information in a google sheet if you have set up one.

This will enable you to use powerful spreadsheet filters in google sheets for better order manageent and tracking

Whats working:

  1. Awaiting Shipments orders details
  2. Awaiting Delivery Order details
  3. Ordr Completed details
  4. Orders pending payment details
  5. Implement pagination for the above sections such that more than 10 orders per section appears
  6. Implement google sheet integration
  7. Implement batch google sheet update (Now update to google sheets is much faster - 20s for 200 plus orders)
  8. Order tracking ID integrated. Also, the last package delivery status for the tracking id is retrieved

Work In Progress

  1. Order carrier retrieval
  2. Fix date and Purchase protection remaining data format for easier filtering in google sheets

To Do

  1. Integrate Tracking ID with an existing tracker to get package logistic updates
  2. Desktop App with UI
  3. Total Payment Integration ( Order Paid, Order cancelled, Dispute refund) details to be separately tracked
  4. Convert selenium integration to headless mode for uninterrupted web scrapping in the background

Installation

  • As of the current state, The package is dependant on lxml, pyquery, selenium and Chromedriver/PhantomJS Package.
  • For lxml pacakge, the WHL file for windows is hardcoded in Windows file. Install using the following command:
    • Windows without library building support: `pip install -r requirements.win.txt
    • Windows/Linux/Other platforms where python C extension for lxml can be compiled/built: `pip install -r requirements.base.txt
  • Edit the path to Chromexdriver in the file
  • Get Google Service Credentials. Download the credential json in same folder and point the path in the credentials call in file
  • You need to share a google sheet and copy the url to an environment variable AE_gsheet_url
  • Also, setup the Aliexpress Username and Password as environment variables. AE_username and AE_passwd
  • Why Environment Variables: This is a makeshiift arrangement to pass on the credentials. Otherwise exposing these information in publicly shared code is a breach of privacy/security. A more permanent solution will be used once this sotware gets a desktop app.

License

This code ia available as free to use/redistribute under MIT License. Please check the LICENSE File for sharing and attributuon requirements

aliexpressorders's People

Contributors

pradyumnac avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.