Giter Site home page Giter Site logo

johnandreopoulos / public-apis Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 47 KB

A collective list of free APIs

License: MIT License

JavaScript 100.00%
api api-list api-rest apis free free-api free-apis list public-api public-apis open-source scrapper

public-apis's Introduction

Public APIs (Scrapper) - Use at your own risk

This is a list of available APIs that can be used to get data from the web.

image

The following APIs are available for use. Each API returns a list of objects with the data requested. The data is returned in JSON format.

Requirements

The following packages are used to get the data from the web:

Windows installation npm install

Linux installation sudo npm install


Example of returned data

Random Quotes

It returns a random quote from a list of quotes.

[
    {
      quote: 'Is that a gun in your pocket, or are you just glad to see me?',
      author: 'Mae West, 1893-1980, American actress'
    }, {
      quote: 'Coming back to where you started is not the same as never leaving.',
      author: 'Terry Pratchett, 1948-2015, British writer'
    }, { MORE HERE }
]

Latest World News based on Google News

It returns a list of news articles based on google news.

[
    {
      title: 'Israel-Gaza war: US calls for temporary ceasefire in UN text',
      source: 'BBC.com',
      time: '1 hour ago',
      author: '',
      link: 'https://news.google.com/./articles/    CBMiMWh0dHBzOi8vd3d3LmJiYy5jb20vbmV3cy93b3JsZC11cy1jYW5hZGEtNjgzNDYwMjfSATVodH  RwczovL3d3dy5iYmMuY29tL25ld3Mvd29ybGQtdXMtY2FuYWRhLTY4MzQ2MDI3LmFtcA?hl=en-US&    gl=US&ceid=US%3Aen'
    }, {
      title: 'Gaza cease-fire, Minnesota shooting, Colorado shooting, Julian    Assange, California rain, Biden: Daily Briefing',
      source: 'USA TODAY',
      time: '55 minutes ago',
      author: 'Nicole FallertBy Nicole Fallert',
      link: 'https://news.google.com/./articles/    CBMic2h0dHBzOi8vd3d3LnVzYXRvZGF5LmNvbS9zdG9yeS9uZXdzLzIwMjQvMDIvMjAvaXNyYWVsLW  hhbWFzLWNlYXNlLWZpcmUtc2hvb3RpbmctZ3VuLWNhbGlmb3JuaWEtd2VhdGhlci83MjY2Nzg5MTAw    Ny_SAQA?hl=en-US&gl=US&ceid=US%3Aen'
    }, { MORE HERE }
]

Spotify Daily Trendings (200 Songs)

It returns a list of 200 songs trending on Spotify.

[
  {
    artist: 'Benson Boone',
    track: 'Beautiful Things',
    streams: '5,056,620',
    streamsPlus: '-375,698',
    sevenDay: '38,108,850',
    sevenDayPlus: '+573,214',
    totalStreams: '129,370,578'
  }, {
    artist: 'Taylor Swift',
    track: 'Cruel Summer',
    streams: '4,520,317',
    streamsPlus: '-421,229',
    sevenDay: '32,322,647',
    sevenDayPlus: '+249,426',
    totalStreams: '1,313,238,641'
  }, { MORE HERE }
]

Live Cryptocurrency Prices (50 Top Coins)

It returns a list of 50 top cryptocurrencies and their prices.

[
  {
    sort: '1',
    name: 'BTC Bitcoin',
    price: '$52338.87',
    marketCap: '$1.0276 T',
    volume: '$19.65 B',
    liquidity: '$19.65 B',
    allTimeHigh: '$68780.77'
  }, {
    sort: '2',
    name: 'ETH Ethereum',
    price: '$2970.47',
    marketCap: '$351.53 B',
    volume: '$18.57 B',
    liquidity: '$18.57 B',
    allTimeHigh: '$4861.29'
  }, { MORE HERE }
]

Top 10 Netflix Movies

It returns a list of the top 10 movies on Netflix.

[
  {
    "rank": "1",
    "name": "Despicable Me 3",
    "weeksInTop10": "1",
    "hoursPlayed": "23,900,000",
    "runtime": "1:30",
    "views": "15,900,000"
  }, {
    "rank": "2",
    "name": "Orion and the Dark",
    "weeksInTop10": "2",
    "hoursPlayed": "19,700,000",
    "runtime": "1:33",
    "views": "12,700,000"
  }, { MORE HERE }
]

public-apis's People

Contributors

johnandreopoulos avatar

Stargazers

Anne Thorpe 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.