A client for the OpenFIGI API.
- Search
- Filter (Search but with total count)
- Mapping
-
Construct a builder.
- Search and Filter use
BaseItemBuilder
, then construct aBaseItem
. - Mapping uses
MappingItemBuilder
, then construct aMappingItem
.MappingRequest
is[]MappingItem
.
- Search and Filter use
-
Set the properties through setters. (
.Set[...](...)
) -
Build the item (
.Build()
). The package will validate the content of the item, reducing bad API calls. -
[optional] API Key, set with
SetAPIKey(string)
. -
Use the client to make the request.
BaseItem
use.[Search|Filter](query string, start string)
returningSearchResponse
orFilterResponse
MappingRequest
use.Fetch()
returning[]SingleMappingResponse
SearchResponse
andFilterResponse
have a.Next()
method to fetch the next page.
make generate
to generate the constants and hashset for validationmake test
for testing, will runmake generate