from notte_sdk import NotteClient
notte = NotteClient()
# retrieve the function
fn = notte.Function("<function_id>")
# Run the function, providing variables
response = fn.run(url="https://shop.notte.cc/")
print(f"Function completed with result: {response.result}"){
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}from notte_sdk import NotteClient
notte = NotteClient()
# retrieve the function
fn = notte.Function("<function_id>")
# Run the function, providing variables
response = fn.run(url="https://shop.notte.cc/")
print(f"Function completed with result: {response.result}"){
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response
Was this page helpful?
Suggestions