https://github.com/therepanic/funpay4j
Java wrapper for FunPay private api
https://github.com/therepanic/funpay4j
funpay funpay-api funpay-client funpay-java-scraper funpay-scraper java scraper
Last synced: 2 months ago
JSON representation
Java wrapper for FunPay private api
- Host: GitHub
- URL: https://github.com/therepanic/funpay4j
- Owner: therepanic
- License: apache-2.0
- Created: 2024-09-11T19:17:17.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-10-09T16:01:47.000Z (9 months ago)
- Last Synced: 2026-02-20T18:57:00.199Z (4 months ago)
- Topics: funpay, funpay-api, funpay-client, funpay-java-scraper, funpay-scraper, java, scraper
- Language: Java
- Homepage:
- Size: 478 KB
- Stars: 24
- Watchers: 1
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README

[](https://deepwiki.com/therepanic/funpay4j)
[](https://github.com/therepanic/funpay4j/actions/workflows/build.yml)
[](https://github.com/therepanic/funpay4j/releases)
[](https://central.sonatype.com/artifact/io.github.therepanic.funpay4j/core)
[](https://unlicense.org/)
---
The funpay4j library is a Java wrapper for FunPay private api
## Table of contents
- [Install](#install)
- [Requirements](#requirements)
- [Overview](#overview)
- [Usage](#usage)
- [Terms and Conditions](#terms-and-conditions)
- [Quick Usage](#quick-usage)
- [Create FunPayExecutor](#create-funpayexecutor)
- [Get seller](#get-seller)
- [Create AuthorizedFunPayExecutor](#create-authorizedfunpayexecutor)
- [Raise all offers](#raise-all-offers)
- [Contributing](#contributing)
# Install
#### Example for gradle:
```java
dependencies {
implementation 'io.github.therepanic.funpay4j:core:1.0.8'
}
```
#### Example for maven:
```xml
io.github.therepanic.funpay4j
core
1.0.8
```
> [!NOTE]
> If you want the latest snapshot version, use [JitPack](https://jitpack.io/#therepanic/funpay4j)
## Requirements
This project depends on
- Java 8+
- Jsoup
- OkHttpClient
- Gson
- ProjectLombok
# Overview
This Java library allows you to interact with the FunPay. Most of the functionality that is present on the site is here
# Usage
## Terms and Conditions
This library is for personal use and for educational purposes due to the fact that there is no official FunPay api at this time
- Please, do not use this library to spam (botting, spam messaging, etc...)
- Use reasonable (human) delay in between sending requests
Contributors are not responsible for usage and maintainability. Due to the nature of this project, some features of the library are not guaranteed as they make change and break in the future. This library is released under The Unlicense
## Quick Usage
### Create FunPayExecutor
Basic creation of FunPayExecutor
#### *Example:*
```java
FunPayExecutor funPayExecutor = new FunPayExecutor();
```
### Get seller
Basic seller's receipt
#### *Example:*
```java
FunPayExecutor funPayExecutor = ...
User user = null;
try {
user = funPayExecutor.execute(GetUser.builder().userId(1).build());
} catch (FunPayApiException e) {
throw new RuntimeException(e);
}
Seller seller = null;
if (user instanceof Seller) {
seller = (Seller) user;
}
```
### Create AuthorizedFunPayExecutor
Basic creation of AuthorizedFunPayExecutor
#### *Example:*
```java
AuthorizedFunPayExecutor funPayExecutor = new AuthorizedFunPayExecutor("test-golden-key");
```
### Raise all offers
Basic raising of all offers
#### *Example:*
```java
AuthorizedFunPayExecutor funPayExecutor = ...
try {
funPayExecutor.execute(RaiseAllOffers.builder().gameId(41).lotId(211).build());
} catch (FunPayApiException e) {
throw new RuntimeException(e);
} catch (OfferAlreadyRaisedException e) {
System.out.println("The offer has already been raised!!!");
}
```
# Contributing
If you have an addition you would like to make, please do not hesitate to make a pull request!