flattr4j¶
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.
Features¶
- Lightweight and easy to use
- Also runs on Android
- JSP tag library for inserting static and javascript Flattr buttons
- Helps through the OAuth authentication process at Flattr, no OAuth knowledge is needed
- With Maven and Spring support
- Spring Social provider available (currently beta)
Documentation¶
- 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
Authentication¶
- OAuth Procedure: How to get access to an user's Flattr account
- OAuth Android: How to get an OAuth Access Token on Android devices
Integration¶
- Spring: How to integrate flattr4j in Spring
- Taglib: How to use the JavaScript API and add Flattr buttons to your JSPs
- Android: How to use flattr4j on Android devices
Internals¶
- Logging: How to enable logging
- Peek behind the Curtain: How to place direct calls to the Flattr REST service
Development¶
- Source Code: Where to get the source code?
- Changelog: What has changed?
- API Console: Console for sending Flattr API calls
Requirements¶
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.
License¶
flattr4j is released under GNU General Public License Version 3, GNU Lesser General Public License Version 3, Apache License 2.0.
flattr4j is not related to or supported by Flattr AB.