This repository contains the code presented in the blog post, The soccer player best suited to be Santa Claus. The blog post is part of the F# Advent Calendar in English 2017 and, as such, I thought it would be fitting with a Christmas theme. We'll use EA SPORTS FUT Database, Microsoft Cognitive Services and F# to find the soccer player best suited to be Santa Claus
The following assumes that F# and Paket are available.
- Restore dependencies using Paket, e.g.
Paket: Restorein Ionide.
- Get Face API Key and replace
<insert key here>in
- Execute F# Script,
The Face API has a rate limit that depends on your subscription, see Pricing Details. If you get Access Denied, you can fix it by throttling the requests by adding a delay.