Giter Club home page Giter Club logo

depop-scraper-api's Introduction

Depop Scraper API

Web Scraper API for https://www.depop.com/. Allows sellers and developers to retrieve publically available Depop shop information for integration into their personal websites or use in analytical tools.

Warning: Using third-party software to mine or scrape Depop data is against Depop's Terms of Service, use at your own risk.

  1. You may not use the Service to: ... Modify, interfere with, intercept, disrupt or hack the Service, mine data, scrape or crawl the Service, including any internal software capabilities used to offer our Service (e.g. an application programming interface), or use any bots or other third party software on the Service.

Tools Used

Install and Run Locally

Prerequesities:

  1. Node.js and npm

Build:

git clone https://github.com/bwaldropw/depop-scraper-api.git
cd depop-scraper-api
npm install

Run:

npm start

API Endpoints

Currently runs locally on port 3000.

Seller Endpoints

Endpoint Method URL Params Description
/seller/info GET sellerId: String get general info about seller
/seller/products GET sellerId : String, limit: Integer get list of recent seller products
/seller/feedback GET sellerId: String WIP get recent seller reviews

Product Endpoints

Endpoints Method URL Params Description
/product/info GET productId: String WIP get product information

Example

Running locally on http://localhost:3000

const axios = require('axios');

axios.get('http://localhost:3000/seller/info', {
    params: {
        sellerId: 'internetgirl'
    }
})
.then((response) => {
    console.log(response.data);
})
.catch((error) => {
    console.error(error);
});

Expected Response:

{
  "sellerId": "internetgirl",
  "iconLink": "https://media-photos.depop.com/b0/2692588/829470274_2264f6948266436197159faa1ec3f219/U1.jpg",
  "isVerified": true,
  "pageLink": "https://www.depop.com/internetgirl/",
  "rating": 5,
  "numReviews": 33155,
  "numSold": 69394,
  "status": "Active today",
  "numFollowers": "377K",
  "numFollowing": "114",
  "shopName": "iGirl ๐ŸŽ€โ€™s shop"
}

Todos

  • get /seller/products
  • get /seller/feedback
  • get /product/info
  • logging

depop-scraper-api's People

Contributors

bwally0 avatar oabuasba avatar

Stargazers

 avatar

Watchers

 avatar  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.