Skip to content

API to fetch elements of the periodic table in JSON format. Uses Pandas for dumping .csv data to .json and Flask for API Integration. Deployed on "pythonanywhere.com".

Notifications You must be signed in to change notification settings

neelpatel05/periodic-table-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

periodic-table-api

API to fetch elements of the periodic table in JSON format. Uses Pandas for dumping .csv data to .json and Flask for API Integration. Deployed on "pythonanywhere.com". Checkout the following repo periodic-table-api-go written in golang for fast performance of API

Overview

The following document will specify how to use the API to fetch the periodic elements in JSON. Also it will state different methods throught which the elements can be fetch.

Data Object
symbol
name
atomicMass
atomicNumber
atomicRadius
boilingPoint
bondingType
cpkHexColor
density
electronAffinity
electronegativity
electronicConfiguration
groupBlock
ionRadius
ionizationEnergy
meltingPoint
oxidationStates
standardState
vanDerWaalsRadius
yearDiscovered

Methods

There are total of 6 methods by which you can fetch the data :

All

This will fetch all the 118 elements from periodic table.

Atomic Number

This will fetch element from periodic table having atomic number 20. Replace 20 with any other atomic number to fetch that element from 118.

Atomic Name

This will fetch element from periodic table having atomic name "Mercury". Replace "Mercury" with any other atomic name to fetch that element.

Atomic Symbol

This will fetch element from periodic table having atomic symbol "H" i.e. Hydrogen. Replace "H" with any other atomic symbol to fetch that element.

Bonding Type

This will fetch all elements from periodic table having Metallic bonding. Replace metallic with any other bonding type to fetch elements.

Group Block

This will fetch all elements from periodic table belongs to metal group. Replace metal with any other bonding type to fetch elements.

State

This will fetch all elements from periodic table belongs to gas state. Replace gas with any other state to fetch elements.

About

API to fetch elements of the periodic table in JSON format. Uses Pandas for dumping .csv data to .json and Flask for API Integration. Deployed on "pythonanywhere.com".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •