C# class that will retrieve IP geo info via web API

Closed

Need a C# .NET class that can be used as part of an existing website to retrieve and parse geo information about an IP address (IPv4).

Connection to TWO different geo APIs would be required for failover, ideally one should be retrieved as XML and the other as JSON so our programmers will have both code examples for future reference.

Here's what needed: class is instantiated from an [url removed, login to view] page, calls one of the APIs (which one is passed as parameter to a call) parses return into a class variables. Choose two of the free APIs provided below. Code cannot hang if internet or server is not accessible, and also will be executed as part of a record retrieval (and DB Update, not in this scope), so we also need an ability to limit how long a call can be executed, in seconds (for instance, call API, if no response in 5 secs, return error).

For a successful call, store return in class variables, as:

RawResponse, CountryCode, CountryName, RegionCode, RegionName, Longitude, Latitude, City, PostalCode (Zip), MetroCode, AreaCode

DB and other system interaction is not part of this scope.

Available APIs ([url removed, login to view] is a sample IP address):

1) [url removed, login to view] (example: [url removed, login to view] , [url removed, login to view] )

2) [url removed, login to view] (example: [url removed, login to view] )

3) [url removed, login to view] (ex: [url removed, login to view] , [url removed, login to view] )

4) [url removed, login to view]

5) [url removed, login to view]

Should be properly , professionally coded, no refactoring needed. Our current system uses .NET 2.0 , but can also go with .NET 3.5 , please make sure your class works . Let me know which JSON parser you are planning to use, we already use [url removed, login to view] on some projects. Also look here:

[url removed, login to view]

Skills: .NET, C# Programming, Software Testing, XML

See more: geo apis net, geo net, what is a class in programming, web page programmers need, web 2.0 programming, the future of internet programming, smart programmers, scope programming, programming what is a class, programming via web, programming projects via internet, programming class, programmers on call, programmers needed for free, parse programming, on call programmers, json calls, internet web programming projects, future programming of c++, free web programming, c sharp api, c# programming scope, c programming reference, c# programming examples, c programming examples

Project ID: #5130083

Awarded to:

triceraptordino

Good morning, I can implement this project. For JSON parsing i'll use Newtonsoft.JSON. For any details about my experience, you can check my profile. Regards, Gabriel

$70 USD in 1 day
(30 Reviews)
5.7

39 freelancers are bidding on average $144 for this job

samitXI

Hi Sir, I am ready to work for you.I have 9 years of experience in C#/C++ , java, PHP and, MySQL. please see some of my works also check my reviews you will get better idea about my skill.I deliver quality work within More

$144 USD in 3 days
(27 Reviews)
6.0
marchent

Hi, I am interested to write only the C# class as you explained on the spec. I'll use: ** Newtonsoft for json ** .NET 3.5 Let me know if you are interested on me. marchent

$150 USD in 7 days
(135 Reviews)
6.0
sinharavi

Hi, I read your requirements, i am ready to the work. I am having 6+ year of experience in ASP.NET, MVC, C#.NET, VB.NET, MS SQL Server 2008 R2/2005, WCF Service, WCF REST Service, Javascript, JQuery, CSS. Please let me More

$330 USD in 12 days
(73 Reviews)
5.9
IceProgrammer

Hello I have 8+ years experience in several programming languages and i am expert in C# and .NET technologies. You can find more information about my expertise in my resume: http://iceheartgames.com/myresume.pdf More

$105 USD in 1 day
(30 Reviews)
5.8
mastirlaa

Hello! Have perfect experience with Newton, so it should be no problem for me to solve your development needs. Sincerely, Vlad.

$155 USD in 3 days
(52 Reviews)
5.7
sergeydm

Hello. I have 6+ years experience in C#, .NET, ASP.NET, WCF, MSSQL. I think its better to cache resolved geoip data to speedup reply of consequential requests. Or you will do it in another module? Thanks.

$150 USD in 1 day
(9 Reviews)
5.2
zamoldar

hello, I can start right now , I have very much experiance with xml and json objects and web services I have implemented the class infracture please check it https://drive.google.com/file/d/0B7eejNF_C3n5UFdFNFJTX09 More

$155 USD in 2 days
(12 Reviews)
5.1
saykor

Dear smilingzee, Here is a sample of what you need: http://geoip.saykor.com/default.aspx If you have any questions feel free to ping me. Please have in your mind that all api's not return all information as you wa More

$155 USD in 1 day
(28 Reviews)
4.6
senthilkm2013

Hi, I have worked on things like this before. I am sure I can help you in this project. Please consider my bid and could you kindly ping back so that we can discuss further?

$155 USD in 3 days
(7 Reviews)
4.6
murtaza1981

Hi, An ASP.NET,c#,vb and SqlServer expert here. Please feel free to discuss the project with me so that i can wrap it up in a timely manner as per your requirements. I would like to highlight following qualities of m More

$400 USD in 10 days
(12 Reviews)
4.6
amilcarcalles

I can do this for you in matter of hours, please let me know if I'm still candidate to do this, I would use Newtonsoft and the native library for xml

$155 USD in 1 day
(1 Review)
4.6
privatetd

Предложение еще не подано

$111 USD in 2 days
(19 Reviews)
4.5
thcristo

Hi, I can send you the C# class. One XML and one JSON API will be implemented. You can also use two different APIs in failover mode (if the first fails then the second is called). Timeout value can be specified t More

$80 USD in 1 day
(20 Reviews)
4.5
minhpd1309

Hello sir, I read your requirement, I aslo use Newtonsoft.JSON. Im expert C# & .NET. im glad if you let me work for you. i gurantee you will feel satisfied with my job, you can check my profile: https://www.freelancer More

$100 USD in 4 days
(11 Reviews)
4.4
aoefmpes

Hello Sir, That is very sample , i have worked with web service, json pl ping me and give me details i will help you

$144 USD in 5 days
(15 Reviews)
4.5
ils7

Hi. I can use Newtonsoft.JSON to serialize geoinfo. If your project do not use this library I can manualy parse json. I will cover developed code with unit test. Regards

$210 USD in 7 days
(14 Reviews)
4.5
trungdl

Hi, I can do this. I'll code it using C#. Also, if you want a specific gui, please make a simple image. I'll do those following your design.

$69 USD in 2 days
(7 Reviews)
4.2
XeeChaun

Hi. I've worked a lot with C# and a number of webAPIs using JSON, SOAP etc. I've already done such projects (for example: https://www.freelancer.com/projects/NET-C-Sharp-Programming/Build-script-convert-JSON-object.ht More

$120 USD in 2 days
(8 Reviews)
4.2
gahlotkrishan

Hi sir, I'm expert in c# with 100% completion rate, 5 star ratings and more than 5 years of hands on experience in development. I've started the development and can deliver this in next 2-3 hours... Please wait I'll More

$100 USD in 0 days
(11 Reviews)
4.0
kovis

Hi, I am an experienced developer who has been creating C# and VB.NET applications for 12 years. The project is well described and I can deliver the result as required and described. For some public references, plea More

$120 USD in 5 days
(4 Reviews)
3.7