asn#

Autogenerated API

argus_api.lib.geoip.v2.asn.get_autonomous_system(asnOrIP: str, json: bool = True, verify: Optional[bool] = None, proxies: Optional[dict] = None, apiKey: Optional[str] = None, authentication: Optional[dict] = None, server_url: Optional[str] = None, body: Optional[dict] = None, api_session: Optional[ArgusAPISession] = None) dict#

Fetch an autonomous system by ASN or IP (DEV)

Parameters
  • asnOrIP (str) – The ASN or IP of the autonomous system to fetch

  • json – return the response’s body as a dict parsed from json. True by default. If set to false, the raw requests.Response object will be returned.

  • verify – path to a certificate bundle or boolean indicating whether SSL verification should be performed.

  • apiKey – Argus API key.

  • authentication – authentication override

  • server_url – API base URL override

  • body – body of the request. other parameters will override keys defined in the body.

  • api_session – session to use for this request. If not set, the global session will be used.

Raises
Returns

dictionary translated from JSON

argus_api.lib.geoip.v2.asn.get_autonomous_system_networks(asnOrIP: str, limit: int = 25, offset: int = None, json: bool = True, verify: Optional[bool] = None, proxies: Optional[dict] = None, apiKey: Optional[str] = None, authentication: Optional[dict] = None, server_url: Optional[str] = None, body: Optional[dict] = None, api_session: Optional[ArgusAPISession] = None) dict#

Fetch autonomous system networks for a single autonomous system by ASN or IP (DEV)

Parameters
  • asnOrIP (str) – Identifier of the AS

  • limit (int) – Limit the amount of returned networks

  • offset (int) – Skip the first $offset networks

  • json – return the response’s body as a dict parsed from json. True by default. If set to false, the raw requests.Response object will be returned.

  • verify – path to a certificate bundle or boolean indicating whether SSL verification should be performed.

  • apiKey – Argus API key.

  • authentication – authentication override

  • server_url – API base URL override

  • body – body of the request. other parameters will override keys defined in the body.

  • api_session – session to use for this request. If not set, the global session will be used.

Raises
Returns

dictionary translated from JSON

argus_api.lib.geoip.v2.asn.list_autonomous_system_networks(asn: int = None, ip: str = None, sortBy: str = None, limit: int = 25, offset: int = None, includeDeleted: bool = None, json: bool = True, verify: Optional[bool] = None, proxies: Optional[dict] = None, apiKey: Optional[str] = None, authentication: Optional[dict] = None, server_url: Optional[str] = None, body: Optional[dict] = None, api_session: Optional[ArgusAPISession] = None) dict#

Search for autonomous system networks with query parameters (DEV)

Parameters
  • asn (list) – Only return networks matching the given ASNs

  • ip (list) – Only return networks where one of the provided IPs belongs to the network

  • sortBy (list) – Sort the returned entries. Prefix with ‘-’ to sort descending

  • limit (int) – Limit the amount of returned networks

  • offset (int) – Skip the first $offset networks

  • includeDeleted (bool) – If true include networks marked as deleted

  • json – return the response’s body as a dict parsed from json. True by default. If set to false, the raw requests.Response object will be returned.

  • verify – path to a certificate bundle or boolean indicating whether SSL verification should be performed.

  • apiKey – Argus API key.

  • authentication – authentication override

  • server_url – API base URL override

  • body – body of the request. other parameters will override keys defined in the body.

  • api_session – session to use for this request. If not set, the global session will be used.

Raises
Returns

dictionary translated from JSON

argus_api.lib.geoip.v2.asn.list_autonomous_systems(asn: int = None, sortBy: str = None, limit: int = 25, offset: int = None, includeDeleted: bool = None, json: bool = True, verify: Optional[bool] = None, proxies: Optional[dict] = None, apiKey: Optional[str] = None, authentication: Optional[dict] = None, server_url: Optional[str] = None, body: Optional[dict] = None, api_session: Optional[ArgusAPISession] = None) dict#

Search for autonomous system with query parameters (DEV)

Parameters
  • asn (list) – Only return AS matching the given ASNs

  • sortBy (list) – Sort the returned entries. Prefix with ‘-’ to sort descending

  • limit (int) – Limit the amount of returned AS

  • offset (int) – Skip the first $offset AS

  • includeDeleted (bool) – If true include AS marked as deleted

  • json – return the response’s body as a dict parsed from json. True by default. If set to false, the raw requests.Response object will be returned.

  • verify – path to a certificate bundle or boolean indicating whether SSL verification should be performed.

  • apiKey – Argus API key.

  • authentication – authentication override

  • server_url – API base URL override

  • body – body of the request. other parameters will override keys defined in the body.

  • api_session – session to use for this request. If not set, the global session will be used.

Raises
Returns

dictionary translated from JSON

argus_api.lib.geoip.v2.asn.search_autonomous_system_networks(asn: int = None, ip: str = None, sortBy: str = None, limit: int = 25, offset: int = None, includeDeleted: bool = None, json: bool = True, verify: Optional[bool] = None, proxies: Optional[dict] = None, apiKey: Optional[str] = None, authentication: Optional[dict] = None, server_url: Optional[str] = None, body: Optional[dict] = None, api_session: Optional[ArgusAPISession] = None) dict#

Search for autonomous system networks with an AutonomousSystemNetworkSearchRequest (DEV)

Parameters
  • asn (list) – Only return networks matching the given ASNs

  • ip (list) – Only return networks where one of the provided IPs belongs to the network => format:ip

  • sortBy (list) – Sort the returned entries. Prefix with ‘-’ to sort descending (default ip)

  • limit (int) – Limit the amount of returned networks (default 25)

  • offset (int) – Skip the first $offset networks (default 0)

  • includeDeleted (bool) – If true include networks marked as deleted (default false)

  • json – return the response’s body as a dict parsed from json. True by default. If set to false, the raw requests.Response object will be returned.

  • verify – path to a certificate bundle or boolean indicating whether SSL verification should be performed.

  • apiKey – Argus API key.

  • authentication – authentication override

  • server_url – API base URL override

  • body – body of the request. other parameters will override keys defined in the body.

  • api_session – session to use for this request. If not set, the global session will be used.

Raises
Returns

dictionary translated from JSON

argus_api.lib.geoip.v2.asn.search_autonomous_systems(asn: int = None, sortBy: str = None, limit: int = 25, offset: int = None, includeDeleted: bool = None, json: bool = True, verify: Optional[bool] = None, proxies: Optional[dict] = None, apiKey: Optional[str] = None, authentication: Optional[dict] = None, server_url: Optional[str] = None, body: Optional[dict] = None, api_session: Optional[ArgusAPISession] = None) dict#

Search for autonomous systems with an AutonomousSystemSearchRequest (DEV)

Parameters
  • asn (list) – Only return AS matching the given ASNs

  • sortBy (list) – Sort the returned entries. Prefix with ‘-’ to sort descending (default asn)

  • limit (int) – Limit the amount of returned AS (default 25)

  • offset (int) – Skip the first $offset AS (default 0)

  • includeDeleted (bool) – If true include AS marked as deleted (default false)

  • json – return the response’s body as a dict parsed from json. True by default. If set to false, the raw requests.Response object will be returned.

  • verify – path to a certificate bundle or boolean indicating whether SSL verification should be performed.

  • apiKey – Argus API key.

  • authentication – authentication override

  • server_url – API base URL override

  • body – body of the request. other parameters will override keys defined in the body.

  • api_session – session to use for this request. If not set, the global session will be used.

Raises
Returns

dictionary translated from JSON