Skip to content

4.0.0

Latest
Compare
Choose a tag to compare
@lpellegr lpellegr released this 14 Jun 08:45
· 14 commits to main since this release

Changed

  • Require Python 3.8+.
  • Add new functions for retrieving Autonomous System data: batch_lookup_asns, lookup_asn, origin_lookup_asn.
  • Add new functions for user-agent header value parsing: batch_parse_user_agents, parse_user_agent.
  • API key is passed as header value and no longer as query parameter.
  • Client library method are now wrapped in a new ApiResponse object that includes a mean to retrieve metadata
    about credits and throttling in addition to data.
  • Introduce data model for responses to enable field value access using dot notation and ensure code autocompletion functionality.
  • Rename all function and variable names to adhere to snake_case convention.
  • Replace the function named lookup by 3 new functions: batch_lookup_ips, lookup_ip and origin_lookup_ip.
  • Rename IpregistryConfig option apiUrl to baseUrl.
  • Rename UserAgent utility class to _UserAgents.