flattr4j is a free open source Java library for using the Flattr API and adding Flattr buttons to JSP web sites.
It primarily targets for business grade Flattr integration, e.g. on servers, web sites and full-featured desktop applications, but it can also be used on Android devices.
- Lightweight and easy to use
- Also runs on Android
- Helps through the OAuth authentication process at Flattr, no OAuth knowledge is needed
- With Maven and Spring support
- Spring Social provider available (currently beta)
- Core JavaDoc API
- Web JavaDoc API
- Taglib JavaDoc
- Spring Social Provider JavaDoc API
- Maven Project Website
- Use Maven to add flattr4j to your project
Examples and How-Tos¶
- First Steps: How to use flattr4j at all
- Open Data API: How to access the Open Services API
- REST API: How to access the Flattr Services API
- CRUD: How to Create, Read, Update and Delete Things
- OAuth Procedure: How to get access to an user's Flattr account
- OAuth Android: How to get an OAuth Access Token on Android devices
- Spring: How to integrate flattr4j in Spring
- Android: How to use flattr4j on Android devices
- Logging: How to enable logging
- Peek behind the Curtain: How to place direct calls to the Flattr REST service
- Source Code: Where to get the source code?
- Changelog: What has changed?
- API Console: Console for sending Flattr API calls
flattr4j needs at least Java 1.5 or Android API level 4 (earlier levels should work, but are untested).
flattr4j version 2 requires json.org and Apache HttpComponents 4. If you use Maven, the dependencies are loaded automatically. Android API provides both libraries, so flattr4j-core does not need additional libraries on Android devices.
flattr4j is not related to or supported by Flattr AB.