Git Product home page Git Product logo

kobo-xml-upload's Introduction

KoBoToolbox Submission Automation

This project automates the process of submitting data to KoBoToolbox by reading data from an Excel file, creating XML entries, and posting them to a KoBoToolbox server using HTTP POST requests.

Description

The script is designed to read data from an Excel file, convert each row of data into an XML entry following a specific structure, and then send these XML entries to a KoBoToolbox server. This automation facilitates efficient data submission, especially when dealing with a large volume of data.

Installation

Clone the repository to your local machine:

git clone https://github.com/nawaaugustine/KoBo-XML-Upload.git

Navigate to the project directory:

cd KoBo XML Upload

Install the required dependencies using pip:

pip install -r requirements.txt

Usage

  1. Update the config.json file with the necessary information including the path to the Excel file, your KoBoToolbox API token, and project UUID.

    {
        "parent_data_path": "path/to/your/excel/file.xlsx",
        "api_token": "your-api-token",
        "project_uuid": "your-project-uuid"
    }
  2. Run the script:

python main.py

Configuration

The config.json file contains the following fields:

  • parent_data_path: The path to the Excel file containing the data to be submitted.
  • api_token: Your KoBoToolbox API token.
  • project_uuid: The UUID of your KoBoToolbox project.

Make sure to add config.json to your .gitignore file to prevent sharing sensitive data.

Contributing

If you wish to contribute to this project, feel free to fork the repository, make your changes, and open a pull request.

License

MIT

Contact

If you have any questions or feedback, feel free to open an issue or contact the project maintainer.

kobo-xml-upload's People

Contributors

rifatzahir avatar

Stargazers

Nawa Ferdinand avatar

Watchers

Nawa Ashi Augustine III avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.