Added two utility classes which removes a bunch of duplicated code:
EnvironmentUtilities - Makes for easier fetching of environment variables. I checked and it works on macOS, so I removed the part of the README which refers to it being Windows-only.
Connector - Parent class for 3rd party connectors which is meant to hold helper methods for making HTTP requests. Also updated the IGDBGameSource class to use it.
While I was in there I also noticed that the async methods were supposedly incorrectly typed as I was getting a lot of warnings about nullable fields.
Added two utility classes which removes a bunch of duplicated code:
EnvironmentUtilities
- Makes for easier fetching of environment variables. I checked and it works on macOS, so I removed the part of the README which refers to it being Windows-only.Connector
- Parent class for 3rd party connectors which is meant to hold helper methods for making HTTP requests. Also updated theIGDBGameSource
class to use it.While I was in there I also noticed that the async methods were supposedly incorrectly typed as I was getting a lot of warnings about nullable fields.