AngelList Client

Java / JVM client for hitting the AngelList API

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

vc.inreach.angellist
ArtifactId

ArtifactId

angellist-client
Last Version

Last Version

0.0.5
Release Date

Release Date

Type

Type

jar
Description

Description

AngelList Client
Java / JVM client for hitting the AngelList API
Project URL

Project URL

https://github.com/inreachventures/angellist-client
Source Code Management

Source Code Management

https://github.com/inreachventures/angellist-client

Download angellist-client

How to add to project

<!-- https://jarcasting.com/artifacts/vc.inreach.angellist/angellist-client/ -->
<dependency>
    <groupId>vc.inreach.angellist</groupId>
    <artifactId>angellist-client</artifactId>
    <version>0.0.5</version>
</dependency>
// https://jarcasting.com/artifacts/vc.inreach.angellist/angellist-client/
implementation 'vc.inreach.angellist:angellist-client:0.0.5'
// https://jarcasting.com/artifacts/vc.inreach.angellist/angellist-client/
implementation ("vc.inreach.angellist:angellist-client:0.0.5")
'vc.inreach.angellist:angellist-client:jar:0.0.5'
<dependency org="vc.inreach.angellist" name="angellist-client" rev="0.0.5">
  <artifact name="angellist-client" type="jar" />
</dependency>
@Grapes(
@Grab(group='vc.inreach.angellist', module='angellist-client', version='0.0.5')
)
libraryDependencies += "vc.inreach.angellist" % "angellist-client" % "0.0.5"
[vc.inreach.angellist/angellist-client "0.0.5"]

Dependencies

compile (5)

Group / Artifact Type Version
io.dropwizard : dropwizard-jackson jar
org.glassfish.jersey.core : jersey-client jar
com.fasterxml.jackson.jaxrs : jackson-jaxrs-json-provider jar
com.fasterxml.jackson.datatype : jackson-datatype-jdk8 jar 2.6.3
com.fasterxml.jackson.datatype : jackson-datatype-jsr310 jar 2.6.3

test (2)

Group / Artifact Type Version
junit : junit jar
org.mockito : mockito-core jar

Project Modules

There are no modules declared in this project.

AngelList Client

This library provides a simple Java / JVM client that hits the AngelList API.

So far, the following API calls have been implemented:

  • Get a Startup
  • Get a Startup's roles
  • Get a User
  • Get a tag's Startups
  • Get a tag's parent tags
  • Get a tag's child tags

Usage

The project can be found in maven central:

<dependency>
    <groupId>vc.inreach.angellist</groupId>
    <artifactId>angellist-client</artifactId>
    <version>0.0.5</version>
</dependency>

The library uses Java8 Optionals and ZonedDateTime objects, so you'll need to make sure the Jersey Client is given an ObjectMapper with the requisite modules.

final ObjectMapper objectMapper = Jackson.newObjectMapper();
objectMapper.registerModule(new Jdk8Module());
objectMapper.registerModule(new JavaTimeModule());
final JacksonJaxbJsonProvider jacksonProvider = new JacksonJaxbJsonProvider();
jacksonProvider.setMapper(objectMapper);
final Client client = ClientBuilder.newClient(new ClientConfig(jacksonProvider));

Currently the only implementation for the AngellistClient is the HttpAngellistClient which uses Jersey 2 HTTP client. How very Dropwizard-y.

Building

Contributing back to the project would be greatly appreciated. The project includes an integration test which hits the live AngelList API with your API key.

Obviously I don't want to commit our key so you need to add the key to src/test/resources/.angellist_key and make sure you never commit it!

vc.inreach.angellist

InReach Ventures

Scaling early stage investment across Europe through software

Versions

Version
0.0.5
0.0.1