Functions


(type in any required parameters, then click the green circle to send a request)




Missions
>

This function is for an app called Rocketeer which I worked on over the summer of 2020. Calling the function will return data for the soonest upcoming rocket launch. This includes satellites, rovers, astronauts, etc.

Mission data was sourced from Spaceflight Now

Coordinates
>

This function was also made for Rocketeer . Calling this function will return the longitude and latitude for any location given by name in a format that can be easily read and parsed by Apples Swift MapKit.

Coordinates data was sourced from OpenCage Geocoding

NBA Player
>

This function is for an online game called Larry Birdle which I made in a few hours while (procrastinating) studying for a midterm. The game is based off the Poeltl game by Dunk Town, but Larry Birdle is not limited to one game per day. Calling the function will return data for a random NBA player. This was initially made in March 2021, so the data may be incorrect by the time you read this, although I do intend on updating it every season.

Player data was sourced from NBA.com and All Sports Talk

Images
Image result will appear here
>

This function was also made for Rocketeer . Calling this function will return the base 64 encoded data for a low quality image based on your search. The function can also return the URL for the image.

Images are sourced from Google Images

Dateparse
>

This function was also made for Rocketeer . Calling this function will return the inputted date in a uniform format which can be easily parsed by Swift.

The editor for the Rocketeer source data often made inconsistencies in their date formatting, causing Swift to crash our app. This function helped maintain a consistent and future proof date formatting process.

Reddit
>

This function was made for Widgit , an app I made in the summer of 2020 which allows you to create and fully customize an iOS 14 home screen widget for Reddit posts. Calling this function will return the top post in any subreddit.

The function can also be given an offset value to skip the first few posts, different ways to sort the posts, or specified limits of the amount of posts to return.

Amazon
>

This function was made for an Oooh module during my Summer 2022 Internship.

The function will return all image urls for the first page of Amazon.com search results for a product.