glitch-javascript-sdk 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,32 @@
1
+ # Glitch Javascript SDK
2
+ Welcome to the Glitch JavaScript SDK. This SDK is designed to make access Glitch more easy and accessible for developers.
3
+
4
+ ### What is Glitch?
5
+
6
+ Glitch an open-source live community platform for gaming publishers and esports organizations to establish vibrant gaming communities. While the technology is retro-fitted for gaming, it can be used for various other use cases such as:
7
+
8
+ - Live Shopping
9
+ - Film Events
10
+ - Conference Events
11
+ - And more
12
+
13
+ ### How To Install
14
+
15
+ The library is agnostic to any application that is using Javascript with includes vanilla Javascript, React, Angular, Express and any of the other major frameworks. To install, simply run the following:
16
+ ```npm install tbd-command --save```
17
+
18
+ This will add the package to your package.json
19
+
20
+ ### How To Use
21
+ The API coincendes with the Glitch Backend.
22
+
23
+ ```
24
+ import Glitch from tbd-import;
25
+
26
+ //Set the config
27
+ new Glitch.config.Config("http://www.baseUrl.com/", 'some-auth-otken');
28
+
29
+ Glitch.Api.Auth.login("john@example.com", "abc123").then(()=> {
30
+ }).catch(error => {
31
+ )
32
+ ```