This repository contains the code presented in the blog post, The soccer player best suited to be Santa Claus.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.paket
images
.gitignore
README.md
Santafy.fsx
background.png
paket.dependencies
paket.lock
santa-hat.png

README.md

Santafy

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 🎅

Getting Started

The following assumes that F# and Paket are available.

  1. Restore dependencies using Paket, e.g. paket restore or Paket: Restore in Ionide.
  2. Get Face API Key and replace <insert key here> in Santafy.fsx.
  3. Execute F# Script, Santafy.fsx.

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.