Skip to content

Instantly share code, notes, and snippets.

View iampawan's full-sized avatar
🎯
I may be slow to respond.

Pawan Kumar iampawan

🎯
I may be slow to respond.
View GitHub Profile
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:flutter/foundation.dart';
import 'package:http/http.dart' as http;
import 'package:qart/services/network_service_response.dart';
class RestClient {
Map<String, String> authHeaders;
@iampawan
iampawan / stackoverflow.py
Created April 21, 2019 06:00
Stack Overflow Questions Scrapping
import requests
from bs4 import BeautifulSoup
import json
res = requests.get("https://stackoverflow.com/questions")
soup = BeautifulSoup(res.text, "html.parser")
questions_data = {
"questions": []