Screen a user with ofac to see if they are sanctioned.
Example:
curl -X POST http://127.0.0.1:5000/screen_entity \
-H "Content-Type: application/json" \
-d '{
"query": {
"min_score": 0.9,
"name": "Peter Griffin",
"dob": "1935-01-01T00:00:00.00Z",
"dob_months_range": 12
}
}'
will yield results:
{
"hits": [
{
"name": "GRIFFIN, Peter"
}
],
"total_hits": 1
}
python -r requirements.txt python server.py