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
+25-26Lines changed: 25 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,50 +98,49 @@ Takes the given storage location `PATH`, gets the data from there and stores it
98
98
```python
99
99
firebase.put(PATH, DATA, bg=True, id=0)
100
100
```
101
-
Takes the given storage location `PATH` and uploads the given text`DATA` there.
101
+
Takes the given storage location `PATH` and uploads the given value`DATA` there.
102
102
- Optional run in the background with the keyword `bg`.
103
-
- Set socket id with the keyword `id`. This makes it possible to establish multiple connections to the server instead of just one. Recommended if you know what you are doing, only makes sense if the command is running in the background.
103
+
- Set socket id with the keyword `id`. This makes it possible to establish multiple connections to the server instead of just one. Recommended if you know what you are doing, only makes sense if the command is running in the background. (Example at get)
104
104
- Example:
105
105
```python
106
106
firebase.put("testtag1", "1", id=0)
107
107
firebase.put("testtag2", "2", id=1) #runs at the same time
108
108
```
109
109
### patch
110
110
```python
111
-
firebase.patch(PATH, DATA, bg=True, id=0)
112
-
```
113
-
Takes the given storage location `PATH` and uploads the given text `DATA` there.
111
+
firebase.patch(PATH, DATATAG, bg=True, id=0)
112
+
```
113
+
Takes the given storage location `PATH` and patches the given key `DATATAG` there, without touching any other tag in the Database.
- Optional run in the background with the keyword `bg`.
115
-
- Set socket id with the keyword `id`. This makes it possible to establish multiple connections to the server instead of just one. Recommended if you know what you are doing, only makes sense if the command is running in the background.
116
-
- Example:
117
-
```python
118
-
firebase.patch("testtag1", "1", id=0)
119
-
firebase.patch("testtag2", "2", id=1) #runs at the same time
120
-
```
121
+
- Set socket id with the keyword `id`. This makes it possible to establish multiple connections to the server instead of just one. Recommended if you know what you are doing, only makes sense if the command is running in the background. (Example at get)
121
122
### addto
122
123
```python
123
-
firebase.addto(PATH, DATA, bg=True, id=0)
124
-
```
125
-
Takes the given storage location `PATH` and uploads the given text `DATA` there.
Takes the given storage location `PATH` and adds the given value `DATA` there, the randomly generated tag can be optionally stored in the DUMP variable.
- Optional run in the background with the keyword `bg`.
127
-
- Set socket id with the keyword `id`. This makes it possible to establish multiple connections to the server instead of just one. Recommended if you know what you are doing, only makes sense if the command is running in the background.
128
-
- Example:
129
-
```python
130
-
firebase.addto("testtag1", "1", id=0)
131
-
firebase.addto("testtag2", "2", id=1) #runs at the same time
132
-
```
136
+
- Set socket id with the keyword `id`. This makes it possible to establish multiple connections to the server instead of just one. Recommended if you know what you are doing, only makes sense if the command is running in the background. (Example at get)
133
137
### delete
134
138
```python
135
139
firebase.addto(PATH, bg=True, id=0)
136
140
```
137
141
Takes the given storage location `PATH` deletes the data there.
138
142
- Optional run in the background with the keyword `bg`.
139
-
- Set socket id with the keyword `id`. This makes it possible to establish multiple connections to the server instead of just one. Recommended if you know what you are doing, only makes sense if the command is running in the background.
140
-
- Example:
141
-
```python
142
-
firebase.delete("testtag1", id=0)
143
-
firebase.delete("testtag1", id=0) #runs at the same time
144
-
```
143
+
- Set socket id with the keyword `id`. This makes it possible to establish multiple connections to the server instead of just one. Recommended if you know what you are doing, only makes sense if the command is running in the background. (Example at get)
0 commit comments