Newbie questions


(John L ) #1

I just signed up today, so please excuse the newbie questions. I’m looking for some help in getting started in writing smart apps.
I watched the online videos, opened the IDE, and messed around a bit with editing an existing smart app.

What I really need is more documentation.

For instance, I’m experimenting with the sunrise/sunset app, and saw the following line in the astroCheck function:
def astroCheck() {
def s = getSunriseAndSunset(zipCode: zipCode, sunriseOffset: sunriseOffset, sunsetOffset: sunsetOffset)

Where can i get a list of existing functions like “getSunriseAndSunset”?

Thanks
John


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #2

Good question.

I believe they are not yet fully published.

You can find bits and pieces and you can email support or build @ smartthings.com for specific use case questions.

https://graph.api.smartthings.com/ide/documentation

…CP.


(Zach Naimon) #3

John -

You can find things like the getSunriseAndSunset here: http://graph.api.smartthings.com/ide/doc/smartApp

To reiterate what @tgauchat (CosmicPuppy) said, documentation has not been fully published as of this moment, but it’s in the works.