Generate social media posting (+google news research)

This task generate a social media posting based on a google news research.

Input

This task generate a social media posting based on google news research. You can provide a topic and google news search parameters and a social media posting is created.

[1.0.0]:
FirstVersion
VersionAI ModelCreatedLink
1.0.030.05.2023

API

The REST API allows you to call the tool with the same costs as when running the tool. Please generate an Personal access token before using the REST API.

Parameters

  • search_query (Topic): The topic of the posting.
  • region (Region): The region of the google news recherche.
  • period (Period): The period of the google news recherche.
  • Call the REST API by cURL
    curl -v -H "Authorization: Bearer PERSONAL_ACCESS_TOKEN" https://api.anysolve.ai/rest/v1/u-ba835df8268fc301-generate-social-media-posting-google/1.0.0?search_query=AI%20task%20and%20work%20automation&region=US&period=7d
  • Install the package with pip
    python3 -m pip install anysolve
  • Run in python3
    import os
    from anysolve import AnySolve
    anysolve_token = os.environ.get('ANYSOLVE_PERSONAL_ACCESS_TOKEN') # Resolve your personal access token here
    client = AnySolve(anysolve_token)
    res = client.run('u-ba835df8268fc301-generate-social-media-posting-google','1.0.0', {'search_query': 'AI task and work automation', 'region': 'US', 'period': '7d'})
    print(res)
  • Coming soon: Within AnySolve ChatComplete prompts you can use the following command to execute the task:
    /run('u-ba835df8268fc301-generate-social-media-posting-google','1.0.0', search_query='AI task and work automation', region='US', period='7d')