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.MappingRequestis[]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.
BaseItemuse.[Search|Filter](query string, start string)returningSearchResponseorFilterResponseMappingRequestuse.Fetch()returning[]SingleMappingResponseSearchResponseandFilterResponsehave a.Next()method to fetch the next page.
make generateto generate the constants and hashset for validationmake testfor testing, will runmake generate