data.world - write_table

Write a table of data to data.world as a CSV

(no tags)

    Algorithmia Platform License · Internet Access · Calls Other Algorithms

    Try the API

    {
      "message": "File(s) uploaded."
    }

    Install & Use

    Use
    
    curl -X POST -d '{
      "dataset_key":"https://data.world/bryon/testalgo",
      "table": {
        "header": ["foo", "bar"],
        "data" : [
          {"foo": 1, "bar": "one"},
          {"foo": 2, "bar": "two"}
          ]
      },
      "file_name": "myoutput.csv"
    }' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/datadotworld/write_table/0.2.0