Skip to content

Commit 30cc2ab

Browse files
committed
update readme
1 parent 96bba4f commit 30cc2ab

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
#Microgear-python
1+
# Microgear-python
22
-----------
33
microgear- python is a client library for Python The library is used to connect application code or hardware with the NETPIE Platform's service for developing IoT applications. For more details on the NETPIE Platform, please visit https://netpie.io .
44

55

66

7-
##Installation
7+
## Installation
88
-----------
99
```sh
1010
$ pip install microgear
1111
```
1212

1313

14-
##Usage Example
14+
## Usage Example
1515
-----------
1616
```python
1717
import microgear.client as microgear
@@ -44,9 +44,9 @@ microgear.connect(True)
4444
[More examples](https://github.com/netpieio/microgear-python/wiki#%E0%B8%95%E0%B8%B1%E0%B8%A7%E0%B8%AD%E0%B8%A2%E0%B9%88%E0%B8%B2%E0%B8%87%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B9%83%E0%B8%8A%E0%B9%89%E0%B8%87%E0%B8%B2%E0%B8%99)
4545

4646

47-
##Library Usage
47+
## Library Usage
4848
------------
49-
###Microgear
49+
### Microgear
5050
---------------
5151
**microgear.create(*gearkey*,*gearsecret*,*appid*,*args*):**
5252

@@ -183,7 +183,7 @@ microgear.writeFeed("myfeedid",data,"myapikey");
183183

184184

185185

186-
###Event
186+
### Event
187187
---------------
188188
An application that runs on a microgear is an event-driven type, which responses to various events with the callback function in a form of event function call:
189189

README.th.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
#Microgear-python
1+
# Microgear-python
22
-----------
33
microgear- python คือ client library ภาษา Python ที่ทำหน้าที่เป็นตัวกลางในการเชื่อมโยง application code หรือ hardware เข้ากับบริการของ netpie platform เพื่อการพัฒนา IOT application รายละเอียดเกี่ยวกับ netpie platform สามารถศึกษาได้จาก http://netpie.io
44

55

66

7-
##การติดตั้ง
7+
## การติดตั้ง
88
-----------
99
```sh
1010
$ pip install microgear
1111
```
1212

1313

14-
##ตัวอย่างการเรียกใช้งาน
14+
## ตัวอย่างการเรียกใช้งาน
1515
-----------
1616
```python
1717
import microgear.client as microgear
@@ -44,9 +44,9 @@ microgear.connect(True)
4444
[ตัวอย่างเพิ่มเติม](https://github.com/netpieio/microgear-python/wiki#%E0%B8%95%E0%B8%B1%E0%B8%A7%E0%B8%AD%E0%B8%A2%E0%B9%88%E0%B8%B2%E0%B8%87%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B9%83%E0%B8%8A%E0%B9%89%E0%B8%87%E0%B8%B2%E0%B8%99)
4545

4646

47-
##การใช้งาน library
47+
## การใช้งาน library
4848
------------
49-
###Microgear
49+
### Microgear
5050
---------------
5151
**microgear.create(*gearkey*,*gearsecret*,*appid*,*args*):**
5252

@@ -191,7 +191,7 @@ microgear.writeFeed("myfeedid",data,"myapikey");
191191

192192

193193

194-
###Event
194+
### Event
195195
---------------
196196
application ที่รันบน microgear จะมีการทำงานในแบบ event driven คือเป็นการทำงานตอบสนองต่อ event ต่างๆ ด้วยการเขียน callback function ขึ้นมารองรับในลักษณะๆดังต่อไปนี้
197197

0 commit comments

Comments
 (0)