All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ir.sadeghpro.insta.client.ExploreResponse Maven / Gradle / Ivy

Go to download

this is library for working with instagram without using instagram api. this library use instagram web browser

There is a newer version: 1.2.3
Show newest version
package ir.sadeghpro.insta.client;

import java.util.ArrayList;

public class ExploreResponse {

    private boolean hasNextPage;
    private String endCursor;
    private ArrayList posts = new ArrayList<>();

    /**
     * is exist any other post
     * @return boolean
     */
    public boolean hasNextPage() {
        return hasNextPage;
    }

    public void setHasNextPage(boolean hasNextPage) {
        this.hasNextPage = hasNextPage;
    }

    /**
     * string code for getting next posts with getPost method
     * @return String
     */
    public String getEndCursor() {
        return endCursor;
    }

    public void setEndCursor(String endCursor) {
        this.endCursor = endCursor;
    }

    /**
     * an array of post object
     * @return ArrayList
     */
    public ArrayList getPosts() {
        return posts;
    }

    public void addPost(Post post) {
        posts.add(post);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy