Refactoring to avoid multiple calls to the internet.
Example of using a fold with Either.