Moov Watchman is an HTTP API and Go library to download, parse and offer search functions over numerous trade sanction lists from the United States, European Union governments, agencies, and non profits for complying with regional laws. Also included is a web UI and async webhook notification service to initiate processes on remote systems.
This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.
- API version: v1
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://github.com/moov-io/watchman
Install the following dependencies:
go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
go get github.com/antihax/optional
Put the package under your project folder and add the following in import:
import "./client"
All URIs are relative to http://localhost:8084
Class | Method | HTTP request | Description |
---|---|---|---|
WatchmanApi | AddOfacCompanyNameWatch | Post /ofac/companies/watch | Watch company |
WatchmanApi | AddOfacCompanyWatch | Post /ofac/companies/{companyID}/watch | Watch OFAC company |
WatchmanApi | AddOfacCustomerNameWatch | Post /ofac/customers/watch | Watch customer |
WatchmanApi | AddOfacCustomerWatch | Post /ofac/customers/{customerID}/watch | Watch OFAC customer |
WatchmanApi | GetLatestDownloads | Get /downloads | Get latest downloads |
WatchmanApi | GetOfacCompany | Get /ofac/companies/{companyID} | Get company |
WatchmanApi | GetOfacCustomer | Get /ofac/customers/{customerID} | Get Customer |
WatchmanApi | GetSDN | Get /ofac/sdn/{sdnID} | Get SDN |
WatchmanApi | GetSDNAddresses | Get /ofac/sdn/{sdnID}/addresses | Get SDN addresses |
WatchmanApi | GetSDNAltNames | Get /ofac/sdn/{sdnID}/alts | Get SDN alt names |
WatchmanApi | GetUIValues | Get /ui/values/{key} | Get UI values |
WatchmanApi | Ping | Get /ping | Ping Watchman |
WatchmanApi | RemoveOfacCompanyNameWatch | Delete /ofac/companies/watch/{watchID} | Remove company watch |
WatchmanApi | RemoveOfacCompanyWatch | Delete /ofac/companies/{companyID}/watch/{watchID} | Remove company watch |
WatchmanApi | RemoveOfacCustomerNameWatch | Delete /ofac/customers/watch/{watchID} | Remove customer watch |
WatchmanApi | RemoveOfacCustomerWatch | Delete /ofac/customers/{customerID}/watch/{watchID} | Remove customer watch |
WatchmanApi | Search | Get /search | Search SDNs |
WatchmanApi | UpdateOfacCompanyStatus | Put /ofac/companies/{companyID} | Update company |
WatchmanApi | UpdateOfacCustomerStatus | Put /ofac/customers/{customerID} | Update customer |
- BisEntities
- Download
- Dpl
- Error
- OfacAlt
- OfacCompany
- OfacCompanyStatus
- OfacCustomer
- OfacCustomerStatus
- OfacEntityAddress
- OfacSdn
- OfacWatch
- OfacWatchRequest
- SdnType
- Search
- Ssi
- SsiType
- UpdateOfacCompanyStatus
- UpdateOfacCustomerStatus
Endpoints do not require authorization.