Giter Club home page Giter Club logo

things-cloud-sdk's Introduction

things cloud sdk

Things comes with a cloud based API, which can be used to synchronize data between devices. This is a golang SDK to interact with that API, opening the API so that you can enhance your Things experience on iOS and Mac.

Go

TODO

  • Verify Credentials
  • Account Management
    • Signup/ Confirmation
    • Change Password
    • Account Deletion
  • History management
    • List Histories
    • Create History
    • Delete History
    • Sync History
    • Item Management
      • read items
      • write items
      • recurring tasks
        • neverending
        • end on date
        • end after n times
        • repeat after completion
        • reminders
        • deadlines
    • State aggregation
      • InMemory
      • Persistent

Note

As there is no official API documentation available all requests need to be reverse engineered, which takes some time. Feel free to contribute and improve & extend this implementation.

things-cloud-sdk's People

Contributors

nicolai86 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

things-cloud-sdk's Issues

Does this work with Things 3

Hi there!

Couple questions:

  • Do you have any plans for continuing development of this?
  • Does this function with the current state of Things?

Can't Create Project in Today

I'm following the example code and am able to create the anytime "test project". However, when I try to change the Schedule value to the Today constant, nothing happens:

	today := thingscloud.TaskScheduleToday
	pending := thingscloud.TaskStatusPending
	yes := thingscloud.Boolean(true)
	taskUUID := uuid.New().String()
	log.Printf("Creating task %s\n", taskUUID)
	if err := history.Write(thingscloud.TaskActionItem{
		Item: thingscloud.Item{
			Kind:   thingscloud.ItemKindTask,
			Action: thingscloud.ItemActionCreated,
			UUID:   taskUUID,
		},
		P: thingscloud.TaskActionItemPayload{
			Title:    stringVal("test project"),
			Schedule: &today,
			// Schedule:     &anytime,
			Status:       &pending,
			CreationDate: &thingscloud.Timestamp{},
			IsProject:    &yes,
		},
	}); err != nil {
		log.Fatalf("Task creation failed failed: %q\n", err.Error())
	}

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.