Add api and code endpoints to netrc