full api program

Combination of two api's from which fields are taken and inserted into a
mysql database.