from meibelai import Meibelai
import os
with Meibelai(
api_key_header=os.getenv("MEIBELAI_API_KEY_HEADER", ""),
) as m_client:
res = m_client.datasources.add_datasource(name="<value>", description="kindly kookily biodegrade after helpfully mushy unlike", recurrence="<value>", object_storage_config={
"bucket": "<value>",
"prefix": "<value>",
"filters": None,
"gcs_config": {
"key": "<value>",
"key1": "<value>",
},
"s3_config": {
"role_arn": "<value>",
"region": "<value>",
},
}, web_config={
"base_url": "https://neighboring-fen.net/",
"javascript_render": True,
"wait_for_selector": "<value>",
"domains": None,
"authentication": {
"username": "Eulalia35",
"password": "VKK1aONN4LAHFVF",
},
}, connector_config={
"connector_id": "<id>",
"airbyte_config": {
"source_id": "<id>",
"destination_id": "<id>",
"connection_id": "<id>",
},
"source_config": {
"key": "<value>",
"key1": "<value>",
},
})
# Handle response
print(res){
"id": "<string>"
}from meibelai import Meibelai
import os
with Meibelai(
api_key_header=os.getenv("MEIBELAI_API_KEY_HEADER", ""),
) as m_client:
res = m_client.datasources.add_datasource(name="<value>", description="kindly kookily biodegrade after helpfully mushy unlike", recurrence="<value>", object_storage_config={
"bucket": "<value>",
"prefix": "<value>",
"filters": None,
"gcs_config": {
"key": "<value>",
"key1": "<value>",
},
"s3_config": {
"role_arn": "<value>",
"region": "<value>",
},
}, web_config={
"base_url": "https://neighboring-fen.net/",
"javascript_render": True,
"wait_for_selector": "<value>",
"domains": None,
"authentication": {
"username": "Eulalia35",
"password": "VKK1aONN4LAHFVF",
},
}, connector_config={
"connector_id": "<id>",
"airbyte_config": {
"source_id": "<id>",
"destination_id": "<id>",
"connection_id": "<id>",
},
"source_config": {
"key": "<value>",
"key1": "<value>",
},
})
# Handle response
print(res){
"id": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.meibel.ai/llms.txt
Use this file to discover all available pages before exploring further.
ObjectStorageConfig
Show child attributes
DatasourceWebConfig
Show child attributes
DatasourceConnectorConfig
Show child attributes
Successful Response
AddDatasourceResponse
Was this page helpful?