{"id":86,"date":"2026-03-13T15:44:02","date_gmt":"2026-03-13T15:44:02","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/a_alhallak\/?p=86"},"modified":"2026-03-13T15:44:02","modified_gmt":"2026-03-13T15:44:02","slug":"ffd-3-13-2026","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/a_alhallak\/2026\/03\/13\/ffd-3-13-2026\/","title":{"rendered":"FFD 3\/13\/2026"},"content":{"rendered":"\n<p>I&#8217;ve worked on more API things that I currently cannot explain clearly, but I started a file for amin search for a fact about elements for science. <\/p>\n\n\n\n<p>And I learned more about github and how &#8220;pull request&#8221; works. not much to say. <\/p>\n\n\n\n<p>a small glimpse of the file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import hashlib\nimport json\nimport random\nimport urllib.request\nfrom typing import Optional, List, Dict\n\n# Static JSON of all elements from periodic-table-api (public, no key required)\nELEMENTS_URL = \"https:\/\/neelpatel05.github.io\/periodic-table-api\/api\/v1\/element.json\"\nDEFAULT_TIMEOUT = 10\n\n# Fallback elements in case the API is unreachable\nFALLBACK_ELEMENTS = &#91;\n    {\"name\": \"Hydrogen\", \"symbol\": \"H\", \"atomicNumber\": 1},\n    {\"name\": \"Helium\", \"symbol\": \"He\", \"atomicNumber\": 2},\n    {\"name\": \"Lithium\", \"symbol\": \"Li\", \"atomicNumber\": 3},\n    {\"name\": \"Carbon\", \"symbol\": \"C\", \"atomicNumber\": 6},\n    {\"name\": \"Oxygen\", \"symbol\": \"O\", \"atomicNumber\": 8},\n    {\"name\": \"Iron\", \"symbol\": \"Fe\", \"atomicNumber\": 26},\n    {\"name\": \"Gold\", \"symbol\": \"Au\", \"atomicNumber\": 79},\n]<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve worked on more API things that I currently cannot explain clearly, but I started a file for amin search [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-86","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/theroyalscode.com\/students\/a_alhallak\/wp-json\/wp\/v2\/posts\/86","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theroyalscode.com\/students\/a_alhallak\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theroyalscode.com\/students\/a_alhallak\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_alhallak\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_alhallak\/wp-json\/wp\/v2\/comments?post=86"}],"version-history":[{"count":1,"href":"https:\/\/theroyalscode.com\/students\/a_alhallak\/wp-json\/wp\/v2\/posts\/86\/revisions"}],"predecessor-version":[{"id":87,"href":"https:\/\/theroyalscode.com\/students\/a_alhallak\/wp-json\/wp\/v2\/posts\/86\/revisions\/87"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/a_alhallak\/wp-json\/wp\/v2\/media?parent=86"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_alhallak\/wp-json\/wp\/v2\/categories?post=86"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_alhallak\/wp-json\/wp\/v2\/tags?post=86"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}