Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {


allprojects {
group = 'com.therepanic.funpay4j'
group = 'io.github.therepanic.funpay4j'
version = '1.0.7'

repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.client;
package io.github.therepanic.funpay4j.client;

import com.therepanic.funpay4j.exceptions.FunPayApiException;
import com.therepanic.funpay4j.exceptions.InvalidCsrfTokenOrPHPSESSIDException;
import com.therepanic.funpay4j.exceptions.InvalidGoldenKeyException;
import com.therepanic.funpay4j.exceptions.offer.OfferAlreadyRaisedException;
import com.therepanic.funpay4j.request.SaveOfferRequest;
import io.github.therepanic.funpay4j.exceptions.FunPayApiException;
import io.github.therepanic.funpay4j.exceptions.InvalidCsrfTokenOrPHPSESSIDException;
import io.github.therepanic.funpay4j.exceptions.InvalidGoldenKeyException;
import io.github.therepanic.funpay4j.exceptions.offer.OfferAlreadyRaisedException;
import io.github.therepanic.funpay4j.request.SaveOfferRequest;

/**
* Interface for sending thematic requests to FunPay
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.client;
package io.github.therepanic.funpay4j.client;

import java.io.IOException;
import java.util.Map;
Expand All @@ -26,11 +26,12 @@

import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import com.therepanic.funpay4j.exceptions.FunPayApiException;
import com.therepanic.funpay4j.exceptions.InvalidCsrfTokenOrPHPSESSIDException;
import com.therepanic.funpay4j.exceptions.InvalidGoldenKeyException;
import com.therepanic.funpay4j.exceptions.offer.OfferAlreadyRaisedException;
import com.therepanic.funpay4j.request.SaveOfferRequest;

import io.github.therepanic.funpay4j.exceptions.FunPayApiException;
import io.github.therepanic.funpay4j.exceptions.InvalidCsrfTokenOrPHPSESSIDException;
import io.github.therepanic.funpay4j.exceptions.InvalidGoldenKeyException;
import io.github.therepanic.funpay4j.exceptions.offer.OfferAlreadyRaisedException;
import io.github.therepanic.funpay4j.request.SaveOfferRequest;

/**
* This implementation of FunPayClient uses OkHttp to send request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
*/

@org.jspecify.annotations.NullMarked
package com.therepanic.funpay4j.client;
package io.github.therepanic.funpay4j.client;
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.exceptions;
package io.github.therepanic.funpay4j.exceptions;

/**
* Base class for exceptions related to FunPay
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.exceptions;
package io.github.therepanic.funpay4j.exceptions;

/**
* Base class for exception related to the fact that the csrf token or PHPSESSID is invalid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.exceptions;
package io.github.therepanic.funpay4j.exceptions;

/**
* Base class for exception related to the fact that the goldenKey is invalid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.exceptions.lot;
package io.github.therepanic.funpay4j.exceptions.lot;

/**
* Base class for exception related to the fact that the lot is not found
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.exceptions.offer;
package io.github.therepanic.funpay4j.exceptions.offer;

/**
* Base class for exception related to the fact that the offer already raised
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.exceptions.offer;
package io.github.therepanic.funpay4j.exceptions.offer;

/**
* Base class for exception related to the fact that the offer is not found
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.exceptions.order;
package io.github.therepanic.funpay4j.exceptions.order;

/**
* Base class for exception related to the fact that the order is not found
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.exceptions.user;
package io.github.therepanic.funpay4j.exceptions.user;

/**
* Base class for exception related to the fact that the user is not found
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.objects;
package io.github.therepanic.funpay4j.objects;

import lombok.AllArgsConstructor;
import lombok.Builder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.objects.game;
package io.github.therepanic.funpay4j.objects.game;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.objects.game;
package io.github.therepanic.funpay4j.objects.game;

import lombok.AllArgsConstructor;
import lombok.Builder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,14 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.objects.lot;
package io.github.therepanic.funpay4j.objects.lot;

import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import com.therepanic.funpay4j.objects.offer.ParsedPreviewOffer;
import io.github.therepanic.funpay4j.objects.offer.ParsedPreviewOffer;

/**
* This object represents the parsed FunPay lot
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.objects.lot;
package io.github.therepanic.funpay4j.objects.lot;

import lombok.AllArgsConstructor;
import lombok.Builder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,15 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.objects.offer;
package io.github.therepanic.funpay4j.objects.offer;

import java.util.List;
import java.util.Map;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import com.therepanic.funpay4j.objects.user.ParsedPreviewSeller;
import io.github.therepanic.funpay4j.objects.user.ParsedPreviewSeller;

/**
* This object represents the parsed FunPay offer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.objects.offer;
package io.github.therepanic.funpay4j.objects.offer;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import com.therepanic.funpay4j.objects.user.ParsedPreviewSeller;
import io.github.therepanic.funpay4j.objects.user.ParsedPreviewSeller;

/**
* This object represents the parsed FunPay preview offer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,15 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.objects.order;
package io.github.therepanic.funpay4j.objects.order;

import java.util.List;
import java.util.Map;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import com.therepanic.funpay4j.objects.user.ParsedPreviewUser;
import io.github.therepanic.funpay4j.objects.user.ParsedPreviewUser;

/**
* This object represents the parsed FunPay order
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.objects.transaction;
package io.github.therepanic.funpay4j.objects.transaction;

import java.util.Date;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.objects.transaction;
package io.github.therepanic.funpay4j.objects.transaction;

/**
* Represents the status of a parsed FunPay transaction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.objects.transaction;
package io.github.therepanic.funpay4j.objects.transaction;

/**
* Represents the type of parsed FunPay transaction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.objects.user;
package io.github.therepanic.funpay4j.objects.user;

import java.util.Date;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.objects.user;
package io.github.therepanic.funpay4j.objects.user;

import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.objects.user;
package io.github.therepanic.funpay4j.objects.user;

import lombok.AllArgsConstructor;
import lombok.Data;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.objects.user;
package io.github.therepanic.funpay4j.objects.user;

import java.util.List;

Expand All @@ -22,8 +22,7 @@
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.SuperBuilder;

import com.therepanic.funpay4j.objects.offer.ParsedPreviewOffer;
import io.github.therepanic.funpay4j.objects.offer.ParsedPreviewOffer;

/**
* This object represents the parsed FunPay seller
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.objects.user;
package io.github.therepanic.funpay4j.objects.user;

import lombok.AllArgsConstructor;
import lombok.Data;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.objects.user;
package io.github.therepanic.funpay4j.objects.user;

import java.util.Date;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,27 @@
* limitations under the License.
*/

package com.therepanic.funpay4j.parser;
package io.github.therepanic.funpay4j.parser;

import java.util.List;

import org.jspecify.annotations.Nullable;

import com.therepanic.funpay4j.exceptions.FunPayApiException;
import com.therepanic.funpay4j.exceptions.InvalidGoldenKeyException;
import com.therepanic.funpay4j.exceptions.lot.LotNotFoundException;
import com.therepanic.funpay4j.exceptions.offer.OfferNotFoundException;
import com.therepanic.funpay4j.exceptions.order.OrderNotFoundException;
import com.therepanic.funpay4j.exceptions.user.UserNotFoundException;
import com.therepanic.funpay4j.objects.CsrfTokenAndPHPSESSID;
import com.therepanic.funpay4j.objects.game.ParsedPromoGame;
import com.therepanic.funpay4j.objects.lot.ParsedLot;
import com.therepanic.funpay4j.objects.offer.ParsedOffer;
import com.therepanic.funpay4j.objects.order.ParsedOrder;
import com.therepanic.funpay4j.objects.transaction.ParsedTransaction;
import com.therepanic.funpay4j.objects.transaction.ParsedTransactionType;
import com.therepanic.funpay4j.objects.user.ParsedSellerReview;
import com.therepanic.funpay4j.objects.user.ParsedUser;
import io.github.therepanic.funpay4j.exceptions.FunPayApiException;
import io.github.therepanic.funpay4j.exceptions.InvalidGoldenKeyException;
import io.github.therepanic.funpay4j.exceptions.lot.LotNotFoundException;
import io.github.therepanic.funpay4j.exceptions.offer.OfferNotFoundException;
import io.github.therepanic.funpay4j.exceptions.order.OrderNotFoundException;
import io.github.therepanic.funpay4j.exceptions.user.UserNotFoundException;
import io.github.therepanic.funpay4j.objects.CsrfTokenAndPHPSESSID;
import io.github.therepanic.funpay4j.objects.game.ParsedPromoGame;
import io.github.therepanic.funpay4j.objects.lot.ParsedLot;
import io.github.therepanic.funpay4j.objects.offer.ParsedOffer;
import io.github.therepanic.funpay4j.objects.order.ParsedOrder;
import io.github.therepanic.funpay4j.objects.transaction.ParsedTransaction;
import io.github.therepanic.funpay4j.objects.transaction.ParsedTransactionType;
import io.github.therepanic.funpay4j.objects.user.ParsedSellerReview;
import io.github.therepanic.funpay4j.objects.user.ParsedUser;

/**
* Interface for parsing data from FunPay
Expand Down
Loading
Loading