Giter VIP home page Giter VIP logo

scbuddysite's People

Stargazers

STRIDER avatar

Watchers

Stephen Chavez avatar STRIDER avatar

Forkers

redragonx

scbuddysite's Issues

Sniff headers for client_Id & app_version

USEFUL LINKS
https://developers.soundcloud.com/docs/api/reference#apps

We need these fields in order to make fresh API calls. Right now we are appending part of the API call URL, but this will most likely expire or might end up blocking us if we keep using the same ID.

Here is example of a API call that calls a list of a users followers, and server returns nicely in JSON format.

"https://api-v2.soundcloud.com/users/2751638/followers?offset=1501283655753&limit=200&client_id=JlZIsxg2hY5WnBgtn3jfS0UYCl0K8DOg&app_version=1501506273"

Here is URL breakdown:

https://api-v2.soundcloud.com/users/2751638/followers REST call

?offset=1501283655753 Determines where on the "list" to show followers on SoundCloud. As far as I am aware, this number decreases as you "scroll down" the page to get more followers showing

&limit=200 items returned by API. API will only give 200 at a time

&client_id=JlZIsxg2hY5WnBgtn3jfS0UYCl0K8DOg This is what we need to sniff. Seems like a special client token or id that we cant be using all the time. Going to need to find it for each user or each request.

&app_version=1501506273 Not entirely sure what this is for, but probably determines what version API calls we use. I believe this is a requirement for the URL or else we get a 401.

Sort by different critera

Two for sure:

  1. Sort by follow count
  2. Sort by date followed

Should be fairly simple to implement with lambdas.

Use async requests

Ditch ASPX and move to JS/AngularJS

ASPX sucks.. So I am just going to write the site as JS/HTML/CSS using AngularJS. Now, the only thing is this project might need to be deleted and recreated, we'll see. In the meantime, we could use ASPX as a landing page or something, idk.

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.