Skip to content

Frame for v1.0.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@dilame dilame released this 06 Apr 22:52
· 714 commits to master since this release

This is pre-major release without any useful functionality. I decided to start writing v1 from scratch because old code turns into uncontrollable set of related classes that inconvenient to use for both maintainers and users.
I developed new simple structure that, i hope, you will like. Now it works like this

import { IgApiClient } from './src';
const ig = new IgApiClient();
ig.state.generateDevice(process.env.IG_USERNAME);
const response = await ig.auth.login(process.env.IG_USERNAME, process.env.IG_PASSWORD);
const feed = await ig.feed.accountFollowersFeed(response.pk).get();

Now i need a little help with finalize v1. If you are using this library, please take some time to write at least one file.