/regions#

This endpoint returns data on regions.

Endpoint#

GET

https://hyperion.api.synmax.com/v3/regions

Usage#

Python#

fetch_regions()#

Returns data county, subregion, region, and state.

This function takes no parameters.

Object returned is a pandas DataFrame.

⮞ Setup the client.

from synmax.hyperion import HyperionApiClient, ApiPayload
access_token = 'your access token goes here'
client = HyperionApiClient(access_token=access_token)

For a more detailed guide on setting up the Hyperion client, please see the Quickstart page.

⮞ Call the function.

result_df = client.fetch_regions()

⮞ Print the results or save them for later.

# Print the entire response as a string.
print(result_df.to_string())

# Create a CSV file from the output.
result_df.to_csv('output.csv')

# Print the number of items per column.
print(result_df.count())

For more information on outputting to different formats, please see the pandas DataFrame documentation.


Response#

Parameter

Type

Description

Example

county

str

County in the state where the well is located.

“BEAUREGARD”

region

str

Aggregation of multiple major producing basins.

“GULF”

state_ab

str

Abbreviation of the state.

“LA”

sub_region

str

Aggregation of several counties, typically representing a major producing basin.

“S LA”


Responses#

Normal Output#

county

region

state_ab

sub_region

southeast

AL

midwest

AR

west

AZ

west

CA

west

CO

northeast

CT

northeast

DC

northeast

DE

southeast

FL

gulf

FO GULF

Note

Output data will return as “null” when input data is invalid or does not exist.