Skip to content

fraudpointer/Fraudpointer-Java

Repository files navigation

Fraudpointer Java Client Library

Introduction

If you are here, you have already created an Account at Fraudpointer service. Fraudpointer is there for you to fight fraud. It comes in two parts.

1) The Fraudpointer Application This is where you login and manage your Account settings and do your daily operations with regards to Fraud.

2) The Fraudpointer Server. This is an HTTP Server that you can use to integrate your application with Fraudpointer and enjoy its valuable fraud prevention functionality.

Since Fraudpointer Server talks HTTP in a RESTful manner, we have decided to help you out there and publish a client library that you can use with your java application code. Our target is to speed you up with integrating your application with Fraudpointer and start getting real value out of it, as quickly and easily as possible.

What are you getting from this repository?

If you download the contents of this repository you will get:

  • A folder with all the API reference. This is folder doc. Click on index.html and you are ready to browse it.

  • A folder with all the jars of the external libraries needed to compile the code. This is the folder external_libraries.

  • A folder with all the source code. Apparently, folder with name src.

  • An ant build xml file fraudpointer_client.xml. If you just ant -buildfile fraudpointer_client.xml on the root folder you will get everything built. Note that the jdk used is 1.6 and it is assumed to be homed in /user/bin/jdk1.6.0_24. Edit file fraudpointer_client.properties before running ant and set it where your jdk home is.

  • A file that is used to generate the javadoc-generated documenation. This file is gendoc.sh.

How to build the whole project and get the jar you need for your application?

You can immediately use “ant” to do that. We have the build file ready for you. The build file is:

fraudpointer_client.xml

You need to make sure that file fraudpointer_client.properties points to your jdk home.

Then you just need to type in and run the following command on your command prompt:

ant -buildfile fraudpointer_client.xml

Note that, among the others, this will generate the folder:

out/artifacts/fraudpointer_client_jar/

which will contain the jar file fraudpointer_client.jar with all compiled classes ready for you to include in your java projects.

Using the API

You cannot use the API just like that. You will need to have

  • a Fraudpointer Account in APPROVED status.

  • your public IPs you access Fraudpointer Server from, need to be registered in your Fraudpointer Account settings.

Having done these two, you will get your private API key and you will be able to start using demos and developing against Fraudpointer API. (If you do not have a Fraudpointer Account, go ahead and create one here. It’s FREE.)

API Reference

We have it ready for you there:

{doc}[https://github.com/fraudpointer/Fraudpointer-Java/tree/master/doc]

Or, you can always generate it by running the following command on your command prompt:

gendoc.sh

Developer’s Guide

A Developer’s Guide can be found here

Support

Do not hesitate to e-mail Fraudpointer support ([email protected]). We would be happy to help you out there with your integration effort.

About

Fraudpointer Java Client Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published