Title: Possible IndexOutOfRange error. · Issue #3 · ThinkSmart/API_Examples · GitHub
Open Graph Title: Possible IndexOutOfRange error. · Issue #3 · ThinkSmart/API_Examples
X Title: Possible IndexOutOfRange error. · Issue #3 · ThinkSmart/API_Examples
Description: API_Examples/Example1.py Line 73 in 2d9b8fe return json.loads(r.text).get('Items')[0].get('ID') This is bad practice to trust API response and rely string can be deserialized to array and array has at least 1 element.
Open Graph Description: API_Examples/Example1.py Line 73 in 2d9b8fe return json.loads(r.text).get('Items')[0].get('ID') This is bad practice to trust API response and rely string can be deserialized to array and array has...
X Description: API_Examples/Example1.py Line 73 in 2d9b8fe return json.loads(r.text).get('Items')[0].get('ID') This is bad practice to trust API response and rely string can be deserialized to arr...
Opengraph URL: https://github.com/ThinkSmart/API_Examples/issues/3
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Possible IndexOutOfRange error.","articleBody":"https://github.com/ThinkSmart/API_Examples/blob/2d9b8fe9e348b43486dd2c78c3bdce19ae731ea7/Example1.py#L73\r\n\r\nThis is bad practice to trust API response and rely string can be deserialized to array and array has at least 1 element.","author":{"url":"https://github.com/DmytroHubernatorov","@type":"Person","name":"DmytroHubernatorov"},"datePublished":"2017-09-12T16:03:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/3/API_Examples/issues/3"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:46df7071-8880-f0a2-4bc2-734c66c7890e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D01C:1168BE:B12FB:E05DE:699146C6 |
| html-safe-nonce | 3673f087aa0ac1278466d78131931daed2c4a9c6fb67901117cc482c371990c7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDFDOjExNjhCRTpCMTJGQjpFMDVERTo2OTkxNDZDNiIsInZpc2l0b3JfaWQiOiI0OTQwNTcxOTgxMjQ4NTQ2NTAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3a06df7e23795b112f3c5603adc528efb49de8e5394c9f4e687328e0a9f6fc7f |
| hovercard-subject-tag | issue:257098616 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ThinkSmart/API_Examples/3/issue_layout |
| twitter:image | https://opengraph.githubassets.com/052a7d08374bf4981b73323fadbf052a1ed0eb6b289a8ef8c62eb8b531b68bf9/ThinkSmart/API_Examples/issues/3 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/052a7d08374bf4981b73323fadbf052a1ed0eb6b289a8ef8c62eb8b531b68bf9/ThinkSmart/API_Examples/issues/3 |
| og:image:alt | API_Examples/Example1.py Line 73 in 2d9b8fe return json.loads(r.text).get('Items')[0].get('ID') This is bad practice to trust API response and rely string can be deserialized to array and array has... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DmytroHubernatorov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/ThinkSmart/API_Examples git https://github.com/ThinkSmart/API_Examples.git |
| octolytics-dimension-user_id | 1606166 |
| octolytics-dimension-user_login | ThinkSmart |
| octolytics-dimension-repository_id | 95609671 |
| octolytics-dimension-repository_nwo | ThinkSmart/API_Examples |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 95609671 |
| octolytics-dimension-repository_network_root_nwo | ThinkSmart/API_Examples |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width