1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help with Banggood / API

Discussion in 'Dropshipping & Wholesale Hookups' started by cheeselover, Aug 10, 2016.

  1. cheeselover

    cheeselover Newbie

    Joined:
    Aug 10, 2016
    Messages:
    4
    Likes Received:
    0
    Hi, I'm new to this forum and reasonably new to dropshipping...

    I've been running a site dropshipping items from banggood but have gotten to the point where items that are in my store are being discontinued and going out of stock fairly regularly... And going through ~200-300 items and checking them one at a time through the webforms is really not a viable option.
    When I contacted bangood they said there was an API that VIP members get details on, but I'd need to be selling 2kUSD a month (I'm currently only getting about $150AUD a month on average. As I said, pretty new...) before they'd send me any details.

    Getting to my question, has anybody here used banggoods API, and if you have, would you be able to point me in the direction of possibly scripting something to quickly check a couple of items at a time to see if they are in stock or discontinued?

    Thanks,
    Cheese-lover
     
  2. gregyoung14

    gregyoung14 Registered Member

    Joined:
    Mar 13, 2013
    Messages:
    50
    Likes Received:
    18
    I'm not familiar with banggoods API, but after browsing their site setting something up to scrape their site regularly and parse out the relevant information wouldn't be to difficult if you have any experience programming. Look into "import io" for an easy scraper, and then just use their api to send up a cron job that hits it regularly and sends you the info however you need it.
     
    • Thanks Thanks x 1
  3. cheeselover

    cheeselover Newbie

    Joined:
    Aug 10, 2016
    Messages:
    4
    Likes Received:
    0
    I had a look at it, either I'm retarded or I can't get it to scrape the stocking levels. (Either is as likely as the other in all honesty.)
    Have a feeling that I'm going to be reading up on scraping...
     
  4. cheeselover

    cheeselover Newbie

    Joined:
    Aug 10, 2016
    Messages:
    4
    Likes Received:
    0
    Scraping was easier than expected. Works like a champ.

    Thankyou sir, you completely solved my problem!
     
  5. gregyoung14

    gregyoung14 Registered Member

    Joined:
    Mar 13, 2013
    Messages:
    50
    Likes Received:
    18
    Happy to help! I was going to make a couple suggestions about how to scrape it, but glad to see you figured it out.
     
  6. cheeselover

    cheeselover Newbie

    Joined:
    Aug 10, 2016
    Messages:
    4
    Likes Received:
    0
    Feel free to give any suggestions, currently I've got a script that visits the site with w3m and parsing that for output... It works 7/10 tries.
     
  7. GreenGardenGuy

    GreenGardenGuy Newbie

    Joined:
    May 13, 2012
    Messages:
    39
    Likes Received:
    9
    Gender:
    Male
    Location:
    Florida, USA
    I have access to the API but I have no idea how to use the darn thing. Anyone want to write me a script? I can supply all of the info you should need.
    Even something "off the shelf" if there is anything like that. I have NO experience with APIs, just HTML and a little Javascript.
    Thanks Anybody!
     
  8. GreenGardenGuy

    GreenGardenGuy Newbie

    Joined:
    May 13, 2012
    Messages:
    39
    Likes Received:
    9
    Gender:
    Male
    Location:
    Florida, USA
    Found a free plugin for Banggood.
    Works with Wordpress and Woocommerce. I think it's an affiliate plugin, not sure. I havent checked it out yet.
    https://wordpress.org/plugins/affiliateimporterbg/