(response)
| 1225 | main() |
| 1226 | |
| 1227 | def getAPIErrorCode(response): |
| 1228 | if "API Error" in response: |
| 1229 | # if we got an API error return the number by getting the number |
| 1230 | # after the second space and removing the trailing colon |
| 1231 | return int(response.split()[2][:-1]) |
| 1232 | |
| 1233 | def markMessageRead(messageID): |
| 1234 | try: |
no outgoing calls
no test coverage detected