Using SAMwrapper with nrel.gov

Python integration

Install
pip install SAMwrapper
Quick start
import SAMwrapper

client = SAMwrapper.Client("YOUR_API_KEY")
Return a full list of laws and incentives that match your query.
curl \
  /v1.{output_format}
Get the points of contact for a given jurisdiction.
curl \
  /v1/pocs.{output_format}
Fetch the details of a specific law given the law's ID.
curl \
  /v1/{id}.{output_format}
SDK on GitHub 📄 API Docs
SDK
SAMwrapper
Python
API
nrel.gov
nrel.gov:transportation-incentives-laws
Other SDKs for nrel.gov
py3samsdk nrel-pipes
At a glance
Language Python
Endpoints4