You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,10 @@ Thanks to Social WiFi for their incredible RouterOS-api
6
6
pyros-api is a simple python api for [MikroTik](https://mikrotik.com/) RouterOS extended from [RouterOS-api](https://github.com/socialwifi/RouterOS-api).
7
7
8
8
### Why Another API?
9
-
Well, I find the routeros-api by socialwifi (no offense. their api is great) is complicated unless you are well familiar with routerOS.\
9
+
Well, I find the routeros-api by socialwifi (no offense, their api is great!) is complicated unless you are well familiar with routerOS.\
10
10
Though I was somewhat familiar with routerOS I still needed to often search on google and play with winbox/cli to do a simple stuff. \
11
-
And the most embarrassing part is I forget what I did to achieve something let's say a day ago If I deleted or needed to implement the the same logic with a bit of twist.\
12
-
That's where this api comes in. There's not many functions are simplified but I will be working on this and will update with more simplified api. Any contribution is also welcome.
11
+
And the most embarrassing part is I used to often forget what I did to achieve something let's say a day ago If I deleted or needed to implement the same logic with a bit of twist.\
12
+
That's where this api comes in. There's not many functions are simplified so far but I will be working on this and will update with more simplified api. Any contribution is welcome.
13
13
14
14
15
15
## Usage
@@ -150,23 +150,23 @@ connection.disconnect()
150
150
151
151
## socialWifi's routerOS-api API's
152
152
153
-
Everything from the routerOS-api by socialWifi is also available.
153
+
Everything from the routerOS-api by socialWifi is also available by invoking the given function.
154
154
```
155
155
api = connection.ros_api_raw()
156
156
```
157
-
Now can access all the functions from the routerOS-api by socialWifi.
157
+
Now we can access all the functions from the routerOS-api by socialWifi.
158
158
#### Example
159
159
```
160
160
api = connection.ros_api_raw()
161
161
list_ppp = api.get_resource('/ppp/secret')
162
162
print(list_ppp.get()) # prints all ppp secrets
163
163
```
164
-
To learn more about [RouterOS-api by Social WiFi] please visit their [repository].
164
+
To learn more about how to access API's from [RouterOS-api] by Social WiFi please visit their [repository].
165
165
166
166
Any contribution is welcome! Thanks.
167
167
168
168
169
169
170
170
171
-
[RouterOS-api by Social WiFi]: <https://github.com/socialwifi/RouterOS-api>
0 commit comments