How to easily get full user profile in LinkedIn? - json

Is there an simple way to query all fields in a JSON response, from a linkedin profile without requesting fields individually, or is there another, consumer side, approach that would render all data in a delimited way?
The closest question had broken links.

Im currently dealing with the same issue. In my app I need to access whole profile of a user nut if you dont have partnership with LinkedIn this is not possible. The closest I get so far is asking user to export his profile as an archive (Im OK with the fast option there) and then in my app Im using JSON Resume to convert this archive to JSON.
But if someone has better idea dont be shy to share it ;)
Hope that help at least a little

Related

Where to begin for filtering user's inputs to give result

I'm creating a website to be able to find the best result after a user has added their input. I'm newer to programming with only a few months in HTML/CSS and very light Javascript. Due to this, I am unable to properly word my question due to the lack of education so far, thus why I'm seeking advice here!
Best way to describe my idea is by an example:
User is looking for a dish recommendation to cook.
User inputs data (what they are craving, allergies, their cooking experience level, etc..)
Database filters through user's inputs to find the best result, giving them the dish they should cook.
Result is displayed on page for user to see.
If this is a hard to follow idea, let me know what the issue is and I will try to elaborate. I'm just unsure as to where to begin with this, what code-language to use, and how to go about to make my idea a reality.
Thank you in advance for any help/criticism sent my way!
You can go ahead with following steps:
Create mock up/ have an idea of how the screen will look.
Try to create that lay out in html css, css frameworks such as bootstrap can help you to quickly build that user interface.
Create some dummy data JSON and pull the data form that and make app working with Dummy data.
As you know JavaScript you can write backend code in node.js, identify the db you want to work on.
create a table structure / Schema for you data, as per database of your choice, you can use any freeware here, like mongodb, mysql etc.
Once this is done try to connect db with backend code of node.js
Code service/API in node to send data to front end view to display.

Developing a A web-based real time dashboard

I want to consume kafka stream into mysql using Python; on top if which I want to build a realtime web based (web app) dashboard that will automatically be refreshed (ajax) on each data insert in the database.
After some searching, found a suggestion that ajax is not good for this purpose.
This post said websockets are better than ajax in terms of Performance.
Because I am not sure on whats the best way to achieve this So your expert advice is needed.
Thanks.
"I want to consume kafka stream into mysql using Python; on top if which I want to build a realtime web based (web app) dashboard that will automatically be refreshed (ajax) on each data insert in the database."
... (wince!) ...
Pretty-please find someone among your peers who can save you from yourself. (And is there any possible way that I can say this to you, such that you can "save face?" I can't think of any.) I'm not-at-all trying to have public fun at your expense. Please – "talk immediately to your manager. (S)He, surely, can help you."
I am certainly not an expert in this field, however my company uses Elastic/Kibana to read in from Kafka topics and display the data on a dashboard. This is just one of many routes you can take, but it works very well for us. You can read a little more into it here:
https://www.elastic.co/blog/just-enough-kafka-for-the-elastic-stack-part1

What programming language is this (newsfeed) and how would I go about getting it up on Wordpress?

So I was given a link to a newsfeed by a colleague, and he wants it up on the Wordpress site I'm working on. I have no idea what this is and I have absolutely no idea what to do with it! The mind-blowing part is that he doesn't know what this is exactly either, yet he made it..
This is supposedly a list of news items:
http://www.slussen.biz/api/newslist/get?id=16
And this should be single news items:
http://www.slussen.biz/api/news/1146
What is this, and what can I do with it?
Super grateful for any suggestions.
I don't usually answer this kind of questions since it proves no sign of effort but I'll help you out.
The file you have received is a JSON document, containing lists of news that your client wants on his website.
To put it simply, it a file containing information structured as key:value. That JSON document contains a lot of information, it is called a JSON Array. Each element is called a JSON Object. JSON is used a lot because of its ease of use by various programs.
There are some ways to put that data on your database. Since your website is WORDPRESS, I'm sure that you can have access to a database administration panel where you can import that document. I suggest reading this thread:
Importing JSON into Mysql on to how to import a JSON document to PHPMyAdmin. If that's not your database management platform, you can still do it manually in worst cases, just format it using any tool such as https://jsonformatter.curiousconcept.com/ to have a clear view of how your data is structured.
Good luck.

How do you incorporate Node.js/passport into my website?

I'm new to webdev and I'm trying to use passport for registration/authentication on a site I'm setting up. I'm also going to write an application in node later on that will be using some of the user data (users will need to provide an API key for an account on another site that I will use to pull data into the application).
At the moment, the main issue I'm having is figuring out what goes where. I've found plenty of resources that explain how to create an app using passport, but nothing shows how it would be incorporated into your website or where the files should be in relation to your website. I'm relatively new to Node.js, and while I've written a few small applications I have never hosted them anywhere.
Bonus question: I'm using MongoDB with passport and I was also planning to use it to store some JSON my application will be receiving from API calls. However, I wanted to use MySQL to store some data as well. More specifically, I'm planning to save the raw JSON then I'll create a relational database out of the data I need from the JSON and then keep the rest in MongoDB for easy access. Is this common/smart, or should I focus on keeping everything in my MongoDB? I'm relatively new to NoSQL.
Thanks in advance for any help.
I would reference this tutorial. I just recently used this to help myself with a new application. Also there is an example of the same thing but in SQL here. So not sure what you mean by " where the files should be in relation to your website". The information related to to authentication should go in your database.
To your "bonus question" you can use two databases. The key here is to ask yourself why and what are the true needs for data, and how is this data accessed and used. From ground up I would like one and stick with it. If at some point later you realize a certain type of data would be better in a different database then you can add it.
Side note: look into an IDE such as webstorm to help you out.

How do I set up the architecture for a "big data" analysis project?

A friend of mine and I are in our senior year and will be starting a senior project soon. We had the idea to do a data analysis and data visualization project for it. Our project involves reading a CSV file that is updated every 2 minutes, parsing that data, then storing it in a database. Once that data is stored we want to run some analysis on it and provide an API through which we could access that data to visualize in some way. Our end goal would be to build an Android app that displays some of the raw data from the CSV and the analysis in a user friendly format. I talked to another CS Major and he explained that I would need a few different servers to accomplish this: One for the storage, another for analysis, and another for some type of queue that would make sure things don't get screwy while we are doing scraping and analysis. The problem is, I don't really know where to start with this. I've done some work with a SQL database before and a PHP front end, but nothing with multiple servers. I've heard of tools to use with big data projects like Hadoop but i'm not exactly sure where it fits in. If someone could point me to a resource of some kind to explain, or explain themselves, how I would start to structure this kind of project, that would be awesome!
Since you don't have much experience with these things you'll probably want to look at projects like Cloudera. Specifically their resources page has a nice set of videos and articles.
Another source of solid information (that I personally use) is by clicking on an Stack Overflow tag and selecting the votes option. Many good questions on a plethora of big data topics already exists.