This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<UserControl x:Class="yournamespace.Controls.DurationPicker" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
mc:Ignorable="d"> | |
<Border VerticalAlignment="Center" SnapsToDevicePixels="True" UseLayoutRounding="True"> | |
<StackPanel Orientation="Horizontal"> | |
<!-- HOURS --> | |
<TextBox x:Name="HoursBox" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import time | |
from collections import defaultdict | |
API_TOKEN = 'your token (ex: 'ASDFGHJKL')' | |
FILTER_ID = 'your filter id to filter specific deals you want affected (ex: 21)' | |
BASE_URL = 'https://api.pipedrive.com/v1/deals' | |
def get_all_deals(): | |
deals = [] |