Skip to content

Describe InternetData's keyless answer as the basics - #2000

Open
UmanShahzad wants to merge 2 commits into
HelpCode-ai:mainfrom
UmanShahzad:internetdata-keyless-text
Open

UmanShahzad wants to merge 2 commits into
HelpCode-ai:mainfrom
UmanShahzad:internetdata-keyless-text

Conversation

@UmanShahzad

Copy link
Copy Markdown
Contributor

Summary

Follows #1911. Without a key InternetData answers the basics, so the adapter's text now lists asn.type, company and the abuse contact under the paid key too, and tells a burst 429 (with Retry-After) from a used-up quota (without). I work on InternetData.

Changes

  • intl/internetdata.json: the description, instructions, prerequisites, verifyHints and internetdata_lookup_ip text

Type

  • Documentation

Testing

  • Tested manually: curl https://api.internetdata.io/8.8.8.8 returns only asn (without type), hostname, ip, is_anycast, is_bogon, is_relay, is_tor, location, relay and tor without a key
  • No tests needed: text only, no tool, path or env var changes

Checklist

  • My code follows the existing code style
  • I have tested my changes locally
  • I have updated documentation (if applicable)
  • All existing tests pass (npm test): CI runs them
  • This PR has a descriptive title

Related Issues

Relates to #1875 and #1911.

Without a key a lookup answers the basics: country-level location, time
zone, currency, the ASN's number, name, domain, prefix and country, the
hostname and the Tor, relay, anycast and bogon flags. The ASN type, the
company, the abuse contact and city-level location need a paid key. A
used-up quota is a 429 without Retry-After and a burst is a 429 with it.

The adapter text still described the earlier answer, so the description,
instructions, prerequisites, key help, verify hints and the lookup_ip and
get_my_ip tool text now say that. Tools, paths and headers are unchanged.

Follows HelpCode-ai#1875 and HelpCode-ai#1911.
A lookup without a key has no quota of its own, so the instructions no
longer say the basics come within one. The 429 text is unchanged: a used-up
quota belongs to a key's organization, and a burst carries Retry-After.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant