Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Bruce Axtens
Bruce Axtens

Posted on

     

Google's PageSpeed Insights API, C# version

Google'sPageSpeed Insights API offers solutions in cURL and JavaScript. Over on my github account there's aC# implementation. You still need an API key and what you get in return is still JSON. The parsing of that is left to the reader/user to implement.

In our case, we're only interested in a small subset of the data, so it works to useNewtonsoft.Json.JsonConvert.DeserializeObject on the JSON we receive and pull out what we need from adynamic.

The project usesRestSharp for the retrieval.

Enjoy!

Top comments(3)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss
CollapseExpand
 
anjankant profile image
Anjan Kant
Anjan Kant is a technology enthusiast |.Net Core | Web API | ASP.Net | WCF| C#| SQL Server| Web Scraping| Data Mining | Entity Framework
  • Location
    India
  • Education
    Post Graduation in computer science
  • Work
    Active Health LLC
  • Joined

Thanks Bruce for the implementation in visual studio using C#.

CollapseExpand
 
gadrawingz profile image
Gad Iradufasha
Name is Gad Iradufasha,Web developer and System Analyst/DesignerSkills In web development are:SEO ( Search Engine Optimization),Building Websites & Web apps.Visual artist.
  • Location
    Rwanda, East side
  • Education
    ICT but Focus on Web development and Programming
  • Pronouns
    He/Him
  • Work
    Web developer and Visual Artist at Gadrawingz
  • Joined

Great, But Short details

CollapseExpand
 
bugmagnet profile image
Bruce Axtens
Programmed Canon Canola calculators in 1977. Assorted platforms and languages ever since. Assisting with HOPL.info.I am NOT looking for work -- I've got more than enough to do.
  • Location
    Perth, WA Australia
  • Education
    A few diplomas.
  • Work
    Software Engineer at [Daisy Digital](https://daisydigital.com.au/)
  • Joined

Writing good articles is important to me, so please tell me what else should I have put in?

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Programmed Canon Canola calculators in 1977. Assorted platforms and languages ever since. Assisting with HOPL.info.I am NOT looking for work -- I've got more than enough to do.
  • Location
    Perth, WA Australia
  • Education
    A few diplomas.
  • Work
    Software Engineer at [Daisy Digital](https://daisydigital.com.au/)
  • Joined

More fromBruce Axtens

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp