Code Monkey home page Code Monkey logo

amazon_ebay_api_sync's Introduction

This is a project to transcribe items from amazon and ebay apis to a mysql database

pre-requirements

AWS Account (Amazon) Amazon Associate Account PA API is enabled for Associate Account (Product Advertising API key) eBay Developer API (Production or Developer Key) python 2.7.x

To setup)

  1. git clone (this repo)

  2. Python 2.7.x is required (python-mysqldb requirement)

  3. install python-mysqldb, lxml

  4. cp db.conf-template to db.conf and edit contains information about your database and must be updated to show current information

  5. cp database.sql-template database.sql contains the skeleton of the database. It must be updated with the proper keys and then imported to your mysql server. you may also use this as a reference to update your db as needed

mysql -u username -p -h localhost DATA-BASE-NAME < data.sql

  1. edit searches, and import as needed (direct updates work as well.) Two searches are included in the database, add more to the searches table to enable more searches.

  2. run the search scripts (running the search python scripts), the available data will be in the sync table.

$PATH/python sync_ebay.py $PATH/python sync_amazon.py

use cron to run these as regularly as needed.

nice to haves!


we recommend myPHPAdmin loaded on your development server (if you don't already have a graphical editor for the DB) A nice tutorial to set it up (in minutes) on CentOS using the epel library can be found here -> https://www.digitalocean.com/community/articles/how-to-install-and-secure-phpmyadmin-on-a-centos-6-4-vps

basic steps are: cd ~ wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm sudo rpm -ivh epel-release* rm epel-release* yum install phpmyadmin /etc/httpd/conf.d/phpMyAdmin.conf (add your IP's you want to administer the database from) service httpd start point your web browser at the console http://<your_ip>/phpmyadmin enjoy

amazon_ebay_api_sync's People

Contributors

keytotime avatar

Watchers

 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.