region#

Autogenerated API

argus_api.lib.geoip.v1.region.add_region(id: int = None, minLocationID: int = None, maxLocationID: int = None, countryCode: str = None, regionCode: str = None, regionName: str = None, lastUpdatedTimestamp: int = None, flags: str = 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#

Add new region (DEV)

Parameters
  • id (int) –

  • minLocationID (int) –

  • maxLocationID (int) –

  • countryCode (str) – The two-letter code of the country where this region is in.

  • regionCode (str) – The code of the region.

  • regionName (str) – The name of the region.

  • lastUpdatedTimestamp (int) – The timestamp when this region was last updated.

  • flags (list) – Flags assigned to the object.

  • 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