Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beckn-Gemini Bot : Create a function to call the update-catalogue endpoint #107

Open
8 tasks done
emmayank opened this issue Oct 7, 2024 · 1 comment
Open
8 tasks done
Assignees

Comments

@emmayank
Copy link

emmayank commented Oct 7, 2024

Description

Develop a function in the Beckn-Gemini Bot that allows users to input the number of energy units they will be selling daily. This function should then call the update-catalogue endpoint created by the Strapi adapter to update the provider’s available energy quantity in the catalogue.

Goals

  • Create a function in the Beckn-Gemini Bot that takes user input for the daily energy units they will be selling.
  • Integrate the function with the update-catalogue endpoint created by the Strapi adapter.
  • Ensure that the function updates the energy catalogue with the provided quantity for the corresponding provider.
  • Test the functionality to ensure the catalogue is updated correctly based on user input.

Expected Outcome

  • A function in the Beckn-Gemini Bot that allows users to input how many units they will be selling daily.
  • Successful integration with the update-catalogue endpoint to update the available energy quantity in the provider’s catalogue.
  • Accurate updates to the energy catalogue based on the input provided by users.

Acceptance Criteria

  • The function takes user input for the daily energy units they wish to sell.
  • The function successfully calls the update-catalogue endpoint created by the Strapi adapter.
  • The provider’s available energy quantity is updated in the catalogue according to the user’s input.
  • The function is tested and verified to work for different energy quantities and user inputs.

Mockups / Wireframes

NA

Product Name

Beckn-Gemini

Domain

TBD

Tech Skills Needed

  • JavaScript/TypeScript
  • API Integration
  • Strapi Adapter Integration
  • Backend Development

Complexity

Medium

Category

API Development

Sub Category

Catalogue Management

Project View

Beckn-Gemini P2P Energy Trading

Project Name

Beckn-Gemini

@rahul-eminds
Copy link
Collaborator

Created the function that creates and updates the catalague via API call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants