Skip to content
This repository has been archived by the owner on Nov 12, 2021. It is now read-only.

pskenny/libjfreecycle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub

libjfreecycle

NOTE: In alpha stage, do not use

libjfreecycle is a Java library for scraping freecycle.org.

libjfreecycle lazy loads group and post information i.e. only retrieving information when methods for returning them are called (not getting all information on instantiation). Example:

// Creating a group does not retrieve any information from freecycle.org
Group group = new Group("GalwayIE");

// Request freecycle.org 100 most recent posts now
ArrayList<Post> posts = group.getPosts();

Maven

To use this you must package and install this repo to your local Maven repository using the following commands:

> git clone https://github.com/pskenny/libjfreecycle # Clone libjfreecycle
> cd libjfreecycle
> mvn package # Package libjfreecycle
> mvn install # Install to local Maven repository

Then add to your pom.xml dependencies:

    <dependency>
      <groupId>io.github.pskenny</groupId>
      <artifactId>libjfreecycle</artifactId>
      <version>0.1-SNAPSHOT</version>
    </dependency>

About

Java library for scraping freecycle.org

Resources

License

Stars

Watchers

Forks

Languages