Skip to content

a-legotin/InstaSharper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InstagramApi

Tokenless, butthurtless private API for Instagram. Get account information, media, explore tags and user feed without any applications and other crap. This wrapper provides basic media from instagram, some of them even without authorization. Note that: there is a simple Instagram API based on web-version of Instagram. This repository based on Instagram API for mobile devices.

Build status Build Status

Current version: 1.0.0 [Under development]

Cross-platform by design

Build with dotnet core. Can be used on Mac, Linux, Windows.

Easy to install

Use library as dll, reference from nuget or clone source code.

Easy to use

Use builder to get Insta API instance:

var api = new InstaApiBuilder()
                .UseLogger(new SomeLogger())
                .UseHttpClient(new SomeHttpClient())
                .SetUser(new UserCredentials(...You user...))
                .Build();
Note: every API method has Async implementation as well

Login

bool loggedIn = api.Login();

Get user:

InstaUser user = api.GetUser();

Get all user posts:

InstaMediaList media = api.GetUserMedia();

Get media by its code:

InstaMedia mediaItem = api.GetMediaByCode(mediaCode);

Get user timeline feed:

InstaFeed feed = api.GetUserFeed();

License

MIT

Terms and conditions

  • Provided project MUST NOT be used for marketing purposes
  • I will not provide support to anyone who wants this API to send massive messages/likes/follows and so on
  • Use this API at your own risk

Legal

This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by Instagram or any of its affiliates or subsidiaries. This is an independent and unofficial API.