Uses a JSON file to create an API.