Git Product home page Git Product logo

fonoapi's Introduction

Hi there ๐Ÿ‘‹

It's Shakeeb. I love building backend and frontend stuff. I have been doing this for 8+ years and still strong ๐Ÿ’ช

fonoapi's People

Contributors

aafanasev avatar pierstoval avatar shakee93 avatar tzubair avatar yuripourre avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fonoapi's Issues

check quality info should be removed

scrap-filter

Maybe you should remove "check quality" text from some descriptions before adding it to the database as it's not making too much sense to be there.

I am using the jquery to return objects and I needed to add something like the following to extra "parse" content:

obj[key] = obj[key].replace(/, check quality/g, "");

some phone spec cant find in api

hello,
this is awesome api to search for phone specification.
Some phone model is not found in API. Where I can suggest the missing list to you?

Awesome API

Hi @shakee93 , congrats for this project , i have a question . Why results is never over 100 ? For example if i make a call with "samsung" i am getting 100 results , same with "Lg".

adding offset

Hey there,

due to the limit of 100 results per result set, there should be an offset option so that you can go through pages.

But anyway: nice project!

API request

GET https://fonoapi.freshpixl.com/v1/getdevice?token=token&brand=sumsung&device=a8

I've tried this url to get info but it return No Matching Results Found. If I exclude brand parameter, it can return data.

Is there anythings wrong ?

Source of data

Hi, could you please list the sources you used to generate your data in your README? Thanks.

How to get next 100 records?

Hey guys.
A very good effort for maintaining this API
Is there a way i can get list of all items?
Or if i get 100 records,then how can i get next 100 records?

Thanks

Only returns 100.

How can i get more than 100 results? can i get 100 at a time using pagination?

Can We add Device data to database?

Hi
I am creating app in Laravel and i am new to laravel, so is there a way where i can store mobile information in database, instead of query every time to API?

Adding languages

Is there an option to change the language? March for example Polish Marzec.

List of Mobile Phone Models

I would be good if you can add mobile phone models and It's manufacturer company name. It's just a suggestion.

Get all brand and all models

I'm creating project for my university and I need all phones with parameters. I want to use Your API, but I don't know all phone names. I tried to get phones by brand name, but f.e. Samsung has about 1500 models and API limit result to 100 items. Is there any way to get more result or get only all models for specified brand? Or can You implement pagination of result?

get all devices on initialisation of page

need to get all devices on initialisation of page without limit of 100 and if there is any limitation of 100 then please tell me a way something like 0-100 data (1st request) 0-200 data (2nd request) and so on..

Add images

Hi, would you consider add images of the devices to the request?
It would complete the this great API ๐Ÿ˜„

Filter by years

Hello.

Thank you for you great API. I have question is it possible to add parameter 'year' or something like that to method getdevice? We need to filter device.

Cannot search via Device Model

I am not able to search a device via device model. It would be extremly helpfull since I only have the model number and not the human readable device name.

Only getting 100 results

Hi,
Thank you so much for your efforts to come up with such a beautiful API code.

I am having a query if I use the following code, it will return at max 100 records as per your API.

$devices = fonoApi::getDevice('samsung');

Is there any other way to get the next 100 records or all the devices till date of a particular brand.

Thanks is advance.

add getbrand method

before we use getdevice in our application, we need get brand name. so, add getbrand method to this API. it's easy to implement it

List names of all devices in api

Hi,

is there a way to retrieve the list of all devices in the database of this API? I'd like to use this in an autocomplete feature.

Cheers

database on excel format ?

Hello,

Nice job for your API.

On the other hand, is there any possibility of having a pagination bar allowing to go on the next 100 recording?

Is it possible to achieve this? If yes, how ?

Do you give your complete database in xls format?

Can you have the colors of phones in French ?

Thank you.

Do I need an ssl certification?

I am facing "ERROR : Curl Failed" error after running demo.php
Do I need to have a SSL certification?
I am running this on my XAMPP local host.

Getting ID and/or image

Just looked through this sweet API and it's almost perfect for what I need it for. I need an image of each phone though and if I can't get an image, I need a model number or some other unique identifier, so I can get an image from somewhere else.

I'm sure someone else has run in to this issue. How did you deal with it?

Newer device not added

Hello,
This looks like a neat and good api for finding mobile specifications but I see the database isnt updated yet. I couldnt find specs for nexus 6p and iphone 6s+ for example. May I know how fast is the database updated?

iphone Xs data

It seems that there is no iphone Xs in the data. Will it be updated? or I miss something?
Thank you!

i am getting error message (Invalid or Blocked Token. Generate a Token at fonoapi.freshpixl.com)

Hi
below is the error which i am facing.
{"status":"error","message":"Invalid or Blocked Token. Generate a Token at fonoapi.freshpixl.com","innerException":null}

what i have done is

  1. ganerate token and acquire token after click on this link --->: https://fonoapi.freshpixl.com/token/generate
  2. then i click on this link ---> https://fonoapi.freshpixl.com/v1/getdevice

then i am getting the error message

{"status":"error","message":"Invalid or Blocked Token. Generate a Token at fonoapi.freshpixl.com","innerException":null}

Better API Data

Hey there,

this API could be so much better. Do not get me wrong. It's great, it's true ;)

But the API would be more useable if the available data were atomic and have data types.
For example:

{"edge":"Yes"}
{"edge": true}

or...

{"resolution":"750 x 1334 pixels (~326 ppi pixel density)"}
{"resulution":{"width": "750","height": "1334", "ppi": "326"}}

or...

{"technology":"GSM \/ CDMA \/ HSPA \/ EVDO \/ LTE"}
{"technology":["GSM","CDMA","HSPA","EVDO","LTE"]}

Maybe you can realize that.

Niki ;)

How can I use it in Java?

Hi
I want to implement this in an App using Android Studio, so for that I need to implement it in java. I can see examples of python and php, but not for Java

Can anybody show an example ?

Incomplete data

The following mobile phones brands don't have the price object:-

  1. Zte
  2. Samsung
  3. Oppo
  4. Nokia
  5. Motorola
  6. Micromax
  7. LG
  8. Huawei
  9. HTC

The following mobile phones brands don't have updated models:-

  1. Samsung
  2. Sony
  3. ZTE
  4. Nokia
  5. Motorola
  6. Micromax
  7. LG
  8. Huawei
  9. HTC

Now from where I will get that complete data of the above mobile phones or till when you will update the database.

Aliases

I was going mad during this request:
...?device=i9060

Actually it was a Samsung Galaxy Grand Neo, but I didn't know it since I use fonoapi'API typing the model string on the back of any phone and it only reported "i9060"
Rather I inspected the response and I noticed that these aliases, anyway are linked to the "_2g_bands", "_3g_bands" and "_4g_bands", after the " - " symbol.
Now, is there a way to retrieve devices infos by those alternative names through fonoapi (obviously without making a lot of requests for ANY kind of phone and filtering the responses)?
as
b
bs

I can't get the data

I'm getting error like below
PHP Notice: Undefined index: HTTP_HOST
PHP Notice: Undefined index: REQUEST_URI

And also when i given referrer as some website. And run the demo.php its returning like ERROR : Curl Failed

Why we need to pass this parameter and what is the solution for that.
Thanks,
VIGNESH KUMAR K

Curl Error

Any Solution For Curl Error?

It Just Says ERROR : Curl Failed

Question about API implementation

Hi,

I have question regarding your API implementation.

Why are you returning HTTP Status Code 200 (Request succeeded) for invalid request, isn't that HTTP Status Code 400 (Bad request)?

Be compatible with google official list of devices

Hello!

I believe it is pretty important to make the database use same identification of Manufacturer/Device Marketing Name/ and so on as the google official list of supported devices.

Imagine the app wants info about the current users phone, using Android API we cannot retrieve the "DeviceName" you're using (Samsung and Asus phones for instance), we have to find it on Model column of google official list first to retrive the marketing name, and even if we do that one cannot retrieve information from your database due to differences in string formatting.

For instance, LG is not the manufacturer identifier, LGE is the correct ortography.
Cross correlation between google official list (that is what we can retrive directly from Android API) and your neat database would be the best solution.

Official Google Supported Devices List: https://support.google.com/googleplay/answer/1727131?hl=en

Regards

Add Image to the devices

Hi, currently using your API on my little project. Can we have image for the device? Let me know help is necessary, I can volunteer.

Cheers!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.