ssscassio / instagram-scraped-api

:camera:Instagram Api and scraper

Home Page:https://instagram-rest.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instagram Crawled API

Simple project to random select a winner from comments of a Instagram giveway, promotion or contest using technologies learned at XXI SIECOMP

Technologies used

API

Instagram RESTful API using express

Setting up

$ PORT=3000 npm run server

Users

  • /users/:username User basic information

    • username :string - (Required) The username of a user to get information about
    {
      "data": {
        "bio": "",
        "counts": {
          "followed_by": 0,
          "follows": 0,
          "media": 0
        },
        "full_name": "",
        "profile_picture": "",
        "username": "",
        "website": ""
        "isPrivate": false
      }
    }
    
  • /users/search?q= Search for a user by name

    • q :string - (Required) A query String
    • count :integer - Number of users to return
    {
      "data": [
        {
          "full_name": "",
          "profile_picture": "",
          "username": ""
        }
      ]
    }
    
  • /users/:username/media/recent Get Recent media from a user

    • username :string - (Required) The username of a user to get recent feed
    {
      "data": [
        {
          "link": "",
          "picture": "",
          "id": "",
          "picture_alt": ""
        }
      ]
    }
    
  • /media/:mediaId Media basic Information

    • mediaId :string - (Required) The id of a media to get information about
    {
      "data": {
        "caption": {
          "from": {
            "username: ""
          },
          "text": ""
        },
        "comments": {
          "count": 0,
          "data": [
            {
              "from": {
                "username": ""
              },
              "text": ""
            }
          ]
        },
        "created_time": "",
        "id": "",
        "images": [
          {
            "url": "",
            "height": 0,
            "width": 0
          }
        ],
        "likes": 0,
        "link": "",
        "location": {
          "name": ""
        },
        "type": "image || video",
        "users_in_photo": [
          {
            "username" : ""
          }
        ],
        "videos": [
          {
            "src": "",
            "thumbnail: ""
          }
        ]
      },
    }
    

Articles and sites used to do this

About

:camera:Instagram Api and scraper

https://instagram-rest.herokuapp.com


Languages

Language:JavaScript 100.0%