如何创建读取100条推文的Web API .Net,将它们存储在MongoDB中 [英] How to Create Web API .Net that reads 100 tweets, store them in MongoDB

查看:69
本文介绍了如何创建读取100条推文的Web API .Net,将它们存储在MongoDB中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在C#Asp .Net中创建一个支持REST的web api。



读取100条推文并将它们存储在MongoDB中并尝试提取来自这些数据的3个不同的统计数据



统计数据越冷,创意越多越好(前五名转推,前五名,后五名)



任何帮助将不胜感激

I want to create a web api in C# Asp .Net that support REST all the way.

Reads 100 tweets and store them in MongoDB and try to extract 3 different statistics from this data

The cooler the statistics and more creative the better (Top 5 retweets, Top 5 mentioned, Top 5 followed)

any help would be appreciated

推荐答案

这里有太多代码可以给你一个答案。



您希望在C#中找到一些REST服务示例。然后你需要参考Twitter的API并编写一些代码来发送到MongoDB。
There is way too much code to just give you an answer here.

You'll want to find some samples of REST services in C#. Then you'll need to refer to Twitter's API and get some code written to go to a MongoDB.


这篇关于如何创建读取100条推文的Web API .Net,将它们存储在MongoDB中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆