jamesduffy/PHP-Shortmail-API-Wrapper — comment on commit 266394a27b9047a979d2629b36e2245233e00185
File: Shortmail.php line 75
By jjulian:

Some notes:
* Use `https` for better security.
* The `json` extension will work just fine. But code will be clearer if you instead pass the header `Accept: application/json` and then you can omit the `.json`. This is also where we will do versioning in the future.
* The `login` call is used only once to get an `api_key` for a user/password. Store the `api_key` locally, and then you won't have to use the `login` endpoint anymore.