ShahzainHaider commited on
Commit
c6c08f0
·
verified ·
1 Parent(s): 8598aca

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. apollo_apis.py +1 -1
  2. functionality/funct.py +1 -1
  3. saving_df.json +144 -144
  4. space.py +1 -1
apollo_apis.py CHANGED
@@ -42,7 +42,7 @@ def get_mixed_people(payload, api_key):
42
  # }
43
 
44
  response = requests.post(url, headers=headers, json=payload)
45
- print("response > ", response.text)
46
  return response.json()
47
  except Exception as e:
48
  print(f"Exception | get_mixed_people | {str(e)}")
 
42
  # }
43
 
44
  response = requests.post(url, headers=headers, json=payload)
45
+ # print("response > ", response.text)
46
  return response.json()
47
  except Exception as e:
48
  print(f"Exception | get_mixed_people | {str(e)}")
functionality/funct.py CHANGED
@@ -16,7 +16,7 @@ def convert_json_to_files(api_key,payload):
16
  # exit()
17
  starting_page_index = res["pagination"]["page"]
18
  ending_page_index = res["pagination"]["total_pages"]
19
- print("Total Pages > ", ending_page_index)
20
  if ending_page_index > 5:
21
  ending_page_index = 5 # On free account only 5 pages can be scrapped
22
 
 
16
  # exit()
17
  starting_page_index = res["pagination"]["page"]
18
  ending_page_index = res["pagination"]["total_pages"]
19
+ # print("Total Pages > ", ending_page_index)
20
  if ending_page_index > 5:
21
  ending_page_index = 5 # On free account only 5 pages can be scrapped
22
 
saving_df.json CHANGED
@@ -1,172 +1,172 @@
1
  {
2
  "Name": [
3
- "Mehmet Aktug",
4
- "Matt Smith",
5
- "Anna Dunbar",
6
- "Anthony Saladino",
7
- "Andy Lim",
8
- "Mark John",
9
- "Maria Drozdiuk",
10
- "Andrew Gough",
11
- "Kayla Ritenour",
12
- "Rhonda Gray",
13
- "April Bortz",
14
- "Gemma Grant",
15
- "Beth Crowe",
16
- "Kelly Roberts",
17
- "Sadia Afrin"
 
 
 
 
18
  ],
19
  "First name": [
20
- "Mehmet",
21
- "Matt",
22
- "Anna",
23
- "Anthony",
24
- "Andy",
25
- "Mark",
26
- "Maria",
27
- "Andrew",
28
- "Kayla",
29
- "Rhonda",
30
- "April",
31
- "Gemma",
32
- "Beth",
33
- "Kelly",
34
- "Sadia"
35
- ],
36
- "email": [
37
- "mehmet@zeo.org",
38
- "matt.smith@searchpilot.com",
39
- "anna.dunbar@click.co.uk",
40
- "anthony.saladino@sociummedia.com",
41
- "andy@ifoundries.com",
42
- "mark@sprintonweb.com",
43
- "mary@dnovogroup.com",
44
- "andrew.gough@salience.co.uk",
45
- "kritenour@dexterousol.com",
46
- "rgray@matchboxdesigngroup.com",
47
- "april.bortz@second-elements.de",
48
- "gemma.grant@click.co.uk",
49
- "beth.crowe@digitaloft.co.uk",
50
- "kelly.roberts@hallam.co.uk",
51
- "sadie@serpcat.com"
52
  ],
 
53
  "Company": [
54
- "Zeo",
55
- "SearchPilot",
56
- "Click Consult (Part of Ceuta Group)",
57
- "Socium Media",
58
- "iFoundries",
59
- "SPRINT Middle East LLC",
60
- "dNOVO - Digital Marketing & SEO Agency",
61
- "Salience | Human-First Search Marketing",
62
- "Dexterous Digital",
63
- "Matchbox Design Group",
64
- "Second Elements GmbH & Co. KG",
65
- "Click Consult (Part of Ceuta Group)",
66
- "Digitaloft",
67
- "Hallam",
68
- "SERP Cat"
 
 
 
 
69
  ],
70
  "Website Link": [
71
- "http://www.zeo.org",
72
- "http://www.searchpilot.com",
73
- "http://www.click.co.uk",
74
- "http://www.sociummedia.com",
75
- "http://www.ifoundries.com",
76
- "http://www.sprintonweb.com",
77
- "http://www.dnovogroup.com",
78
- "http://www.salience.co.uk",
79
- "http://www.dexterous.pk",
80
- "http://www.matchboxdesigngroup.com",
81
- "http://www.second-elements.de",
82
- "http://www.click.co.uk",
83
- "http://www.digitaloft.co.uk",
84
- "http://www.hallam.agency",
85
- "http://www.serpcat.com"
 
 
 
 
86
  ],
87
  "Job Title": [
88
- "Director Of Marketing And Business Development",
89
- "Head of Business Development @ SearchPilot - I talk about business transformation through testing and proving the value",
90
- "Business Development Director ",
91
- "Director of Business Development",
92
- "Business Development Director",
93
- "Business Development Director",
94
- "Director of Business Development",
95
- "Head of Business Development",
96
- "Head of Marketing Business Development",
97
- "Business Development Director",
98
- "Director Business Development",
99
- "Head of Business Development",
100
- "Head of Business Development",
101
- "Head of Business Development",
102
- "Head of Business Development"
 
 
 
 
103
  ],
104
  "City": [
105
- "Lisbon",
106
- "Vancouver",
107
- null,
108
  "New York",
109
- "Singapore",
110
  null,
111
- "Kyiv",
112
- "Chester",
113
- "Austin",
114
- "St. Louis",
115
- "Winsen",
116
- "Birkenhead",
117
  null,
118
- "Shrewsbury",
119
- "Dhaka"
 
 
 
 
 
 
 
 
120
  ],
121
  "Country": [
122
- "Portugal",
123
- "Canada",
124
- "United Kingdom",
125
  "United States",
 
 
 
 
 
 
126
  "Singapore",
127
- "United Arab Emirates",
128
- "Ukraine",
129
- "United Kingdom",
130
  "United States",
131
  "United States",
132
- "Germany",
 
 
133
  "United Kingdom",
134
  "United Kingdom",
135
  "United Kingdom",
136
- "Bangladesh"
137
  ],
138
  "Linkedin Profile": [
139
- "http://www.linkedin.com/in/mehmetaktug",
140
- "http://www.linkedin.com/in/mattsmith428",
141
- "http://www.linkedin.com/in/anna-dunbar-79445277",
142
- "http://www.linkedin.com/in/anthonymsaladino",
143
- "http://www.linkedin.com/in/limyiandy",
144
- "http://www.linkedin.com/in/mark-john-a902022b",
145
- "http://www.linkedin.com/in/maria-drozdiuk",
146
- "http://www.linkedin.com/in/andrew-gough-7423538a",
147
- "http://www.linkedin.com/in/kayla-ritenour-4a6255252",
148
- "http://www.linkedin.com/in/rhonda-gray-03079430",
149
- "http://www.linkedin.com/in/april-bortz-2883001a6",
150
- "http://www.linkedin.com/in/gemma-grant-70a56457",
151
- "http://www.linkedin.com/in/beth-crowe-a2304793",
152
- "http://www.linkedin.com/in/kellyroberts5",
153
- "http://www.linkedin.com/in/sadia-afrin-sid"
 
 
 
 
154
  ],
155
- "Phone Number": [
156
- "+902163369037",
157
- "+442033896339",
158
- null,
159
- "+16463689578",
160
- "+6569953242",
161
- "+971504716200",
162
- null,
163
- "+448001223530",
164
- "+923353947377",
165
- "+13148496969",
166
- "+4940410090590",
167
- null,
168
- "+441539766244",
169
- "+441159480123",
170
- "+13076208014"
171
- ]
172
  }
 
1
  {
2
  "Name": [
3
+ "Rogier Van Baarle",
4
+ "Dylan Dharmadasa",
5
+ "Sangeetha Shanmugam",
6
+ "Carolina Aparicio",
7
+ "Jerome McLeod",
8
+ "Lin Xu",
9
+ "Rinzin Faul",
10
+ "Barbara Zacharjasz",
11
+ "Louis Dreyfus",
12
+ "Preeth Gk",
13
+ "Anindita Chattopadhyay",
14
+ "Olivia Talmage",
15
+ "Smit Srivastava",
16
+ "Jason C.",
17
+ "Pavan Sheth",
18
+ "Lauren Douglas",
19
+ "Nathaniel Williams",
20
+ "Mervenur Akyurek",
21
+ "Tony Tran"
22
  ],
23
  "First name": [
24
+ "Rogier",
25
+ "Dylan",
26
+ "Sangeetha",
27
+ "Carolina",
28
+ "Jerome",
29
+ "Lin",
30
+ "Rinzin",
31
+ "Barbara",
32
+ "Louis",
33
+ "Preeth",
34
+ "Anindita",
35
+ "Olivia",
36
+ "Smit",
37
+ "Jason",
38
+ "Pavan",
39
+ "Lauren",
40
+ "Nathaniel",
41
+ "Mervenur",
42
+ "Tony"
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  ],
44
+ "email": [],
45
  "Company": [
46
+ "GroupM",
47
+ "GroupM",
48
+ "GroupM",
49
+ "GroupM",
50
+ "GroupM",
51
+ "GroupM",
52
+ "GroupM",
53
+ "GroupM",
54
+ "GroupM",
55
+ "GroupM",
56
+ "GroupM",
57
+ "GroupM",
58
+ "GroupM",
59
+ "GroupM",
60
+ "GroupM",
61
+ "GroupM",
62
+ "GroupM",
63
+ "GroupM",
64
+ "GroupM"
65
  ],
66
  "Website Link": [
67
+ "http://www.groupm.com",
68
+ "http://www.groupm.com",
69
+ "http://www.groupm.com",
70
+ "http://www.groupm.com",
71
+ "http://www.groupm.com",
72
+ "http://www.groupm.com",
73
+ "http://www.groupm.com",
74
+ "http://www.groupm.com",
75
+ "http://www.groupm.com",
76
+ "http://www.groupm.com",
77
+ "http://www.groupm.com",
78
+ "http://www.groupm.com",
79
+ "http://www.groupm.com",
80
+ "http://www.groupm.com",
81
+ "http://www.groupm.com",
82
+ "http://www.groupm.com",
83
+ "http://www.groupm.com",
84
+ "http://www.groupm.com",
85
+ "http://www.groupm.com"
86
  ],
87
  "Job Title": [
88
+ "Product Manager",
89
+ "General Manager, Product",
90
+ "Senior Manager, Global Product Management",
91
+ "Manager P&B",
92
+ "Product Manager",
93
+ "Product Project Manager",
94
+ "Product Manager",
95
+ "Creative Product Manager",
96
+ "Data Analyst & Product Manager",
97
+ "Manager, Global Product Management - [m]Insights",
98
+ "Senior Director of Product Management",
99
+ "Product Manager",
100
+ "Director of Product Management",
101
+ "Director of Technical Product/DB Management",
102
+ "Product Manager",
103
+ "Product & Innovation Manager",
104
+ "Automation Product Manager",
105
+ "Loyalty App Product Manager",
106
+ "Product Data Manager"
107
  ],
108
  "City": [
109
+ "Amsterdam",
110
+ "Sydney",
 
111
  "New York",
 
112
  null,
113
+ "New York",
114
+ "Duesseldorf",
115
+ "Zuerich",
116
+ "Warsaw",
 
 
117
  null,
118
+ "Singapore",
119
+ "New York",
120
+ "New York",
121
+ "Bengaluru",
122
+ "New York",
123
+ "Bengaluru",
124
+ "London",
125
+ "London",
126
+ "London",
127
+ "Duesseldorf"
128
  ],
129
  "Country": [
130
+ "Netherlands",
131
+ "Australia",
 
132
  "United States",
133
+ "Colombia",
134
+ "United States",
135
+ "Germany",
136
+ "Switzerland",
137
+ "Poland",
138
+ "France",
139
  "Singapore",
 
 
 
140
  "United States",
141
  "United States",
142
+ "India",
143
+ "United States",
144
+ "India",
145
  "United Kingdom",
146
  "United Kingdom",
147
  "United Kingdom",
148
+ "Germany"
149
  ],
150
  "Linkedin Profile": [
151
+ "http://www.linkedin.com/in/rogier-van-baarle-74431827",
152
+ "http://www.linkedin.com/in/dylan-dharmadasa",
153
+ "http://www.linkedin.com/in/sanshan",
154
+ "http://www.linkedin.com/in/carolinacaaj",
155
+ "http://www.linkedin.com/in/mcleodjerome",
156
+ "http://www.linkedin.com/in/lin-xu-b87655b4",
157
+ "http://www.linkedin.com/in/rinzinfaul",
158
+ "http://www.linkedin.com/in/barbara-zacharjasz-4276555b",
159
+ "http://www.linkedin.com/in/dreyfus-louis",
160
+ "http://www.linkedin.com/in/saipreethgk",
161
+ "http://www.linkedin.com/in/aninditachattopadhyay",
162
+ "http://www.linkedin.com/in/olivia-talmage-b7b60753",
163
+ "http://www.linkedin.com/in/smitsrivastava",
164
+ "http://www.linkedin.com/in/jason-c-50a07683",
165
+ "http://www.linkedin.com/in/pavan-sheth-78188782",
166
+ "http://www.linkedin.com/in/lauren-douglas-50a896111",
167
+ "http://www.linkedin.com/in/nathaniel-w-739919bb",
168
+ "http://www.linkedin.com/in/merve-nur-aky%c3%bcrek-b81963124",
169
+ "http://www.linkedin.com/in/tony-tran-558205141"
170
  ],
171
+ "Phone Number": []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
172
  }
space.py CHANGED
@@ -93,4 +93,4 @@ with gr.Blocks() as iface:
93
  )
94
 
95
 
96
- iface.launch(share=True)
 
93
  )
94
 
95
 
96
+ iface.launch(share=True,debug=True)