사용자
Cernium/ACLGroup/api(비교)
| r9 vs r10 | ||
|---|---|---|
| ... | ... | |
| 18 | 18 | 'Authorization': 'Bearer API_TOKEN_HERE' |
| 19 | 19 | } |
| 20 | 20 | }}} |
| 21 | ||
| 21 | ||
| 22 | == 목록 == | |
| 22 | 23 | {{{#!syntax python |
| 24 | data = { | |
| 25 | 'group': '인증된 사용자' | |
| 26 | } | |
| 27 | ||
| 28 | response = requests.get('https://theseed.io/api/v0/aclgroup?from=12029', headers=headers, data=data) #?from=12029는 제거해도 됨 | |
| 29 | print(response.text) | |
| 30 | }}} | |
| 31 | ||
| 32 | === 목록/출력 === | |
| 33 | {{{#!syntax python | |
| 23 | 34 | { |
| 24 | 35 | "groups": [ |
| 25 | 36 | "차단된 사용자", |
| ... | ... | |
| 49 | 60 | } |
| 50 | 61 | ... (생략) |
| 51 | 62 | }}} |
| 52 | }}} | |
| 53 | 63 | |
| 54 | == 목록 == | |
| 55 | {{{#!syntax python | |
| 56 | data = { | |
| 57 | 'group': '인증된 사용자' | |
| 58 | } | |
| 59 | ||
| 60 | response = requests.get('https://theseed.io/api/v0/aclgroup?from=12029', headers=headers, data=data) #?from=12029는 제거해도 됨 | |
| 61 | print(response.text) | |
| 62 | }}} | |
| 63 | ||
| 64 | 64 | == 추가 == |
| 65 | 65 | {{{#!syntax python |
| 66 | 66 | data = { |
| ... | ... |